critique on critique style
bwg
Registered Users, Retired Mod Posts: 2,119 SmugMug Employee
i think critique style is very cool.
however i'm not thrilled with how everything to the left of the exif info is hot (meaning clickable). Just the photo should trigger lightbox, not the entire left 2/3 of the box.
it's just a big pain if i have something like an IM window that opens up on top of the browser window, and i'll click the browser window to get focus back there and lightbox pops up. That's expected behavior if i click on the photo, but not when i click next to the photo.
not a biggie, but just sayin.
edit: this is really only evident with portrait orientated photos
however i'm not thrilled with how everything to the left of the exif info is hot (meaning clickable). Just the photo should trigger lightbox, not the entire left 2/3 of the box.
it's just a big pain if i have something like an IM window that opens up on top of the browser window, and i'll click the browser window to get focus back there and lightbox pops up. That's expected behavior if i click on the photo, but not when i click next to the photo.
not a biggie, but just sayin.
edit: this is really only evident with portrait orientated photos
Pedal faster
0
Comments
On IE this does not happen for me.
The problem is that there is an <a> element surrounding the <img> element. This <a> element, for some reason extends (invisibly) way beyond the <IMG> element, especially noticable when the image has a vertical (portrait) orientation.
This is how i fixed it:
#critique .photo a {
/* Make the surrounding <a> really hidden */
visibility: hidden;
}
#critique .photo a img {
/* But show the part where the actual image is */
visibility: visible;
}
This fixes the issue on FireFox but it does not mess up IE.
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
Portfolio • Workshops • Facebook • Twitter
Bug fixes!
http://blogs.smugmug.com/release-notes/2006/02/18/bug-fixes-february-18th-2006/
Portfolio • Workshops • Facebook • Twitter