TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Futurebox, lightbox without the JavaScript

45 pointsby ahrjayalmost 16 years ago

4 comments

ashleywalmost 16 years ago
Doesn't it loose one of the advantages of a JS version — the ability to lazy load, rather than loading all the full sized images on every page load?
评论 #666936 未加载
treypalmost 16 years ago
Cool, but just in theory because of IE compatibility issues.<p>Hmm, I wonder if you could have done this without :target, using a:active. Drop an element inside of a link that is the lightbox container (#lightbox_container), set to display: none. Then, a#lightbox_link:active #lightbox_container would be display:block;.<p>I'm on my way out, but maybe I'll try it out when I get back. Using position: fixed on the lightbox container, it'd be IE7+ compatible. Position:absolute would be IE6+.
评论 #667011 未加载
ryanwaggoneralmost 16 years ago
Interesting, but the back button in Safari 4 goes back through all the futureboxes that were popped up and closed previously, as if each were its own page. Really annoyed me...
评论 #666292 未加载
评论 #666451 未加载
Raphaelalmost 16 years ago
Now combine it with CSS transitions.
评论 #667108 未加载
评论 #666322 未加载