robert Posted February 23, 2006 Posted February 23, 2006 Not a climbing website, but possibly a cool tool to enhance one. This page is an interesting little article on a java script that makes images grow and shrink when you click them. It even handles the reformatting of the page to maintain the look as the images chance size. Pretty cool I thought. Quote
wfinley Posted February 23, 2006 Posted February 23, 2006 That's pretty slick. easy to implement too. The downside is the main reason I do TN is b/c of the people on slow connections. This JS addresses the size issue but not the load time issue. Cool script regardless! Quote
dbb Posted February 23, 2006 Posted February 23, 2006 well, you'll always pay the price if you want to show a big picture. however, I think (if I read close enough) that it doesn't start the preloading of the larger image until the user clicks on it.... Quote
wfinley Posted February 23, 2006 Posted February 23, 2006 No - the image loaded is one size. It's the same as coding an 800 x 600 pic to display as 80x60 - it might display smaller but it still loads the same. File size and file bytes are different and cannot be adjusted without resaving. Quote
dbb Posted February 27, 2006 Posted February 27, 2006 there are actully two images: a big and a small Quote
wfinley Posted February 28, 2006 Posted February 28, 2006 Oh yeah - you're right. I didn't look at the code close enough. Cool script... maybe I'll use it somewhere. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.