The problem is that not all browsers support CSS3.
Full CSS3 Lightbox - Absolutely no JavaScript
111–114 of 114 posts
Re: Full CSS3 Lightbox - Absolutely no JavaScript
#112So I will get lightboxed even with my no-javascript browsing habits? I liked that most sites simply serve the direct image url to me. Lightbox is an annoying eye-candy.
You turn javascript off to get rid of lightboxes? I can kind of understand that, but you're also turning off lots of functionality in modern websites/apps. It's like blowing your leg off because your little toe annoys you.
I turn javascript off because it is mostly used to annoy me. Be it advertisements, be it tracking, be it lightbox-like things.
I use few "web 2.0" sites. If I need it, I turn it on per-site.
Re: Full CSS3 Lightbox - Absolutely no JavaScript
#113It's done by using the :target selector. Targeted images are lightboxed. There is a link in the lightbox that resets the target to dismiss the lightbox. Crudely:
css: a.lb:target {display:block; text-align:center;} a.lb {display:none;}
html: show image
Re: Full CSS3 Lightbox - Absolutely no JavaScript
#114Does anybody know of a minimalist JS variant? There are so many JS lightbox versions I don't even know where to start. I need something super simple.