2010-03-15, 01:00:06
@Matthew - I think I see your need for this.. since wrapping only the image makes the whitespace of the LI element unclickable. I have a little script that vertical aligns the image in the container, since I tried for many hours to achieve this with CSS and was unable to do so (If anyone wants the challenge.. feel free to try).
But I did find a work around so that it feels like the entire box is clickable.. Don't want to push a new version right now, since it's not a major thing... and I'm working on other things! But I do promise that in the next release this will be included.
For now, if you want you can make some quick changes to the script (squareit-gallery.php)
Line 297 change it to this:
and add this after that line:
@Fred - I'm glad you were able to accommodate the changes. Like I mentioned in my last post, it is a great feature! I already started to incorporate. Will let you know when it's released.
But I did find a work around so that it feels like the entire box is clickable.. Don't want to push a new version right now, since it's not a major thing... and I'm working on other things! But I do promise that in the next release this will be included.
For now, if you want you can make some quick changes to the script (squareit-gallery.php)
Line 297 change it to this:
Code:
$(this).css('padding-top', mh);
Code:
$(this).css('padding-bottom', mh);
@Fred - I'm glad you were able to accommodate the changes. Like I mentioned in my last post, it is a great feature! I already started to incorporate. Will let you know when it's released.