Welcome to WebmasterWorld Guest from 54.146.194.42

Forum Moderators: not2easy

Message Too Old, No Replies

click plus sign to load image on page below plus sign

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

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Apr 26, 2006
posts: 1397
votes: 0


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

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

Senior Member

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

joined:Aug 7, 2003
posts:4783
votes: 0


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.
7:37 pm on Jan 30, 2009 (gmt 0)

Senior Member

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

joined:Mar 20, 2002
posts:3732
votes: 0


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]

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

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Apr 26, 2006
posts:1397
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members