News for hackers. Stuff that matters.
Re:Full CSS3 Lightbox - Absolutely no JavaScript by krmmalik on Monday November 08, 2010 @05:10PM (#1884240)
Dont like how when i press the back button i get a history of pictures i have viewed. If i am at liberty to choose whichever picture i want then i dont need the back button to preserve my selection history. When i click back, i want to go BACK to the site i just came from.

I assume this isnt some bug or some flaw, and that it can probably be coded to behave differently, but as things stand that would prevent me from using this particular lightbox.

Re:Full CSS3 Lightbox - Absolutely no JavaScript by seldo on Monday November 08, 2010 @06:11PM (#1884457)
It's funny you say this, because preserving state and history is one the the things JS-based solutions tend to lack. Check this out:

http://playground.deaxon.com/css/lightbox/#pic3

That's a permalink to an individual lightboxed photo. No JS, no server-side magic. Colour me very impressed.

Re:Full CSS3 Lightbox - Absolutely no JavaScript by bryne on Monday November 08, 2010 @06:57PM (#1884600)
It's not as elegant as, say, the lightbox window providing you with the URL to link to, and does cause annoying issues with the browser history.

That said, it's a lot cooler and more robust for site owners who might be looking to provide linkers with a little more context than serving a standalone image.

Re:Full CSS3 Lightbox - Absolutely no JavaScript by etruong42 on Tuesday November 09, 2010 @07:24AM (#1886198)
This also allows for the middle-click user flow.
Re:Full CSS3 Lightbox - Absolutely no JavaScript by ndunn2 on Monday November 08, 2010 @05:42PM (#1884359)
Agreed, that's very annoying behavior.