Welcome to WebmasterWorld Guest from 54.221.45.195

Forum Moderators: not2easy

Message Too Old, No Replies

click plus sign to load image on page below plus sign

     

potentialgeek

7:28 pm on Jan 30, 2009 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



What's the best way to do this with css? I'm trying to avoid javascript.

I want larger images loading below a thumbnail or plus sign [+], instead of using pop-windows, frames, or taking the user off the page (and having to hit the back button). I don't want to use Flash and I don't want image swapping by pre-loaded larger images (file sizes are too large). The user must be able to save the loaded images.

What are the different ways to do this?

p/g

swa66

7:37 pm on Jan 30, 2009 (gmt 0)

WebmasterWorld Senior Member swa66 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I doubt CSS alone will be able to help you with controlling what happens when you click on anything, that's the realm of scripting.
CSS has some (sometimes even elaborate) ability with hover, but afaik nothing with click.

korkus2000

7:37 pm on Jan 30, 2009 (gmt 0)

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



With just css you will be altering the display or visible properties of the image or its container(you will need javascript to alter the CSS). You will need JavaScript or another technology to load the image after the page has loaded(if that's what you are saying).

[edited by: korkus2000 at 7:38 pm (utc) on Jan. 30, 2009]

potentialgeek

7:38 pm on Jan 30, 2009 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



OK, thanks. I'll try the JS forum.