HighDots Forums  

Can't get that z-Index to behave

Javascript JavaScript language (comp.lang.javascript)


Discuss Can't get that z-Index to behave in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
George Hester
 
Posts: n/a

Default Can't get that z-Index to behave - 08-03-2004 , 12:34 AM






I have a floating div that basically just tracks as the page is scrolled.
It's not fancy but I have it becasue well
learning... Anyway the page just holds one image. The floating div will
be off the image when the window is
scrolled to the bottom. But at the bottom of the image I have three small
gif images one on the far left the other in
the middle and one on the far right (position: absolute). It is actually a
popup window. Click the thumbnail image
and its full version appears in a new window which slides in from the left.
The navigation allows to go home, back
to the collection of thumbnails, and the other to a listing page.

Here's the problem as the floating div follows the window down it is resting
over the top of one of the image links I
have. I thought well I'll just z-Index the gifs (in their divs) higher then
the z-Index for the floating div. No dice. It is
still hiding the images. I can work around this behavior but using z-Index
seems to be what I want. Any ideas?
Thanks.

--
George Hester
__________________________________


Reply With Quote
  #2  
Old   
Danny@Kendal
 
Posts: n/a

Default Re: Can't get that z-Index to behave - 08-05-2004 , 11:37 AM






"George Hester" <hesterloli (AT) hotmail (DOT) com> wrote


Quote:
Here's the problem as the floating div follows the window down it is
resting
over the top of one of the image links I
have. I thought well I'll just z-Index the gifs (in their divs) higher
then
the z-Index for the floating div.
Try using z-index in the <div> elements which contain the GIFs rather than
on the images themselves.




Reply With Quote
  #3  
Old   
George Hester
 
Posts: n/a

Default Re: Can't get that z-Index to behave - 08-07-2004 , 12:23 AM



Thanks yes that's wht I did. Now I see the necessity for transparent
backgounds.

--
George Hester
__________________________________
"Danny@Kendal" <danny (AT) STOPSPAMghpkendal (DOT) co.uk> wrote

Quote:
"George Hester" <hesterloli (AT) hotmail (DOT) com> wrote in message
news:ZAEPc.84965$yd5.19506 (AT) twister (DOT) nyroc.rr.com...

Here's the problem as the floating div follows the window down it is
resting
over the top of one of the image links I
have. I thought well I'll just z-Index the gifs (in their divs) higher
then
the z-Index for the floating div.

Try using z-index in the <div> elements which contain the GIFs rather than
on the images themselves.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.