By Mitko –
March 17, 2010Posted in: Code, Featured 
After working on the WP-Gallery2 plugin for some time, I got another idea for a plugin that I wanted to write, this time involving jQuery and some interesting effects. A big part of the plugin would be it’s layout and how the different elements are positioned according to each other. I had done a little CSS coding before and I understood the basics so I decided that I’d just go right ahead into the prototyping stage.
Unfortunately, after playing with the stylesheet for a couple of hours, I could never get the layout exactly as I wanted it. So, I went ahead and turned to Google for wisdom. Smart as it is, Google did give me nice results and my education began.
The first document that I found was 6 Keys to Understanding Modern CSS-based Layouts. That page gave a nice 10,000 foot overview of the basic principles behind CSS layout but it wasn’t really what I was looking for. I knew the basics. What I wanted to find was a document that would explain how the different CSS layout attributes would change the interaction of the elements.
I got a bit closer to my goal by reading through the following few pages: Understanding CSS Positioning part 1, Understanding CSS positioning part 2, and Floatutorial but now matter what document I could find I could never get a clear picture of how things interact with the different attributes and the CSS 2.1 spec is not a very good place to get a quick understand of things.
So, the current situation is that, while I have most of the plugin thought through in my head and I have the basic design done, I am stuck and can’t proceed until I figure out the CSS. I am guessing that, eventually, I will have to turn to the spec and read through some of it’s chapters. If anyone knows of a good place for CSS information, please, let me know?
VN:F [1.9.4_1102]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.4_1102]
Popularity: 2% [?]
-
Using more AJAX calls for WP-Gallery2 pages
18 April 2010 10:30 AM |
No Comments
Some time ago, I added a feature to the WP-Gallery2 plugin which would allow the plugin to load the galleries and images on a page through AJAX calls. The reason behind the feature was that I wanted the user to be presented with the page [...]
-
Change the look of the Popularity tab in Arras’ Tabbed Widget
30 July 2010 1:45 PM |
7 Comments
After upgrading to WP 3.0 and Arras 1.4.3, I also re-arranged some of its layout – most notably, I stopped displaying the Featured posts in the Tabbed widget and replaced it with the Most Popular. There was no sense of having the featured posts displayed [...]
-
WP-Gallery2 Plugin v0.8.1
25 June 2010 11:09 AM |
No Comments
A couple of day ago, a user (yeah, someone is actually using the plugin) reported a problem with the WP-Gallery2 plugin where he was getting the following error:
Warning: substr_compare() [function.substr-compare]: The length cannot exceed initial string length <path>/wp-content/plugins/wp-gallery2/lib/gallery.php on line 43
Line 43 in the gallery.php [...]
-
Fancybox jQuery plugin added to WP-Gallery2 Plugin
25 March 2010 1:49 PM |
No Comments
It’s been a while since I’ve posted anything related to the WP-Gallery2 plugin but there hasn’t been much activity anyway. I’ve been busy trying to mod and tweak the new Arras 1.4.2 theme that I updated the site to.
Last weekend, I added the ability to [...]
-
WP-Gallery2 Plugin up for download
09 March 2010 12:19 PM |
No Comments
The WP-Gallery2 plugin that I have been working on has reached a point where I am ready to put it up for download so anyone who may be interested can try it out. I still would like to mention that it is still only lightly [...]