![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a page that shows a dynamic number of small images (19x19px). I'm trying to write a script so that when you mouse over each image, it will be replaced with a larger copy (giving a "zoomed in" effect). .... Here's a test page so that you can see the intent. Open it in IE to see what I was expecting it to do: http://beta.gowilkes.com/voice/view/test.php |
|
PS, I had originally posted this question in comp.lang.javascript, but there weren't any replies. In retrospect, this is more of a CSS question than Javascript, anyway. |
#3
| |||
| |||
|
|
That's a funny thing to say after quoting so much javascript! |
|
If you can actually read Eric Meyer with his stupid styling of white or dirty yellow on darkish grey (why do people do these things?), you might get some tips from such as: http://meyerweb.com/eric/css/edge/popups/demo2.html Or better, ping Neredbojias, he has a set of thumnails somewhere with pop ups done in CSS I think. |
#4
| |||
| |||
|
|
In article 93d412da-4257-4952-b007-64671ff8b... (AT) 33g2000vbe (DOT) googlegroups.com>, *Jason Carlton <jwcarl... (AT) gmail (DOT) com> wrote: I have a page that shows a dynamic number of small images (19x19px). I'm trying to write a script so that when you mouse over each image, it will be replaced with a larger copy (giving a "zoomed in" effect). ... Here's a test page so that you can see the intent. Open it in IE to see what I was expecting it to do: http://beta.gowilkes.com/voice/view/test.php ... PS, I had originally posted this question in comp.lang.javascript, but there weren't any replies. In retrospect, this is more of a CSS question than Javascript, anyway. That's a funny thing to say after quoting so much javascript! If you can actually read Eric Meyer with his stupid styling of white or dirty yellow on darkish grey (why do people do these things?), you might get some tips from such as: http://meyerweb.com/eric/css/edge/popups/demo2.html Or better, ping Neredbojias, he has a set of thumnails somewhere with pop ups done in CSS I think. -- dorayme |
#5
| |||
| |||
|
|
On Sep 23, 7:55Â*pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote: In article 93d412da-4257-4952-b007-64671ff8b... (AT) 33g2000vbe (DOT) googlegroups.com>, Â*Jason Carlton <jwcarl... (AT) gmail (DOT) com> wrote: ..... PS, I had originally posted this question in comp.lang.javascript, but there weren't any replies. In retrospect, this is more of a CSS question than Javascript, anyway. That's a funny thing to say after quoting so much javascript! If you can actually read Eric Meyer with his stupid styling of white or dirty yellow on darkish grey (why do people do these things?), you might get some tips from such as: http://meyerweb.com/eric/css/edge/popups/demo2.html .... I've gotten this to work using :hover, but I have what I hope is a minor issue. When I hover, the larger image is layered behind the next smaller image; obviously, the layout needs for it to be on top. I tried using... |
#6
| |||
| |||
|
|
Look at what happens when you add to your CSS: span {padding-right: 50px;} |
#7
| |||
| |||
|
|
http://meyerweb.com/eric/css/edge/popups/demo2.html Or better, ping Neredbojias, he has a set of thumnails somewhere with pop ups done in CSS I think. -- dorayme I've gotten this to work using :hover, but I have what I hope is a minor issue. When I hover, the larger image is layered behind the next smaller image; obviously, the layout needs for it to be on top. I tried using z-index, but it had no impact. Which makes sense, of course; you'll see in the source that I'm manipulating a background image, so naturally a background image is... well, it's in the background! |
|
Is there a way to force the entire block to the front? You can see it in action here: http://beta.gowilkes.com/voice/view/test2.php |
#8
| |||
| |||
|
|
On 2009-09-24, Jason Carlton <jwcarlton (AT) gmail (DOT) com> wrote: [...] .... Is there a way to force the entire block to the front? .... |
|
You can see it in action here: http://beta.gowilkes.com/voice/view/test2.php Well, it looks like it's working now anyway, so maybe you already fixed it. |
![]() |
| Thread Tools | |
| Display Modes | |
| |