Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Can't get that z-Index to behave

Reply
Thread Tools

Can't get that z-Index to behave

 
 
George Hester
Guest
Posts: n/a
 
      08-03-2004
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
 
 
 
 
Danny@Kendal
Guest
Posts: n/a
 
      08-05-2004
"George Hester" <> wrote in message
news:ZAEPc.84965$...

> 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
 
 
 
 
George Hester
Guest
Posts: n/a
 
      08-07-2004
Thanks yes that's wht I did. Now I see the necessity for transparent
backgounds.

--
George Hester
__________________________________
"Danny@Kendal" <> wrote in message
news:Y6ydnUcZ7re_yY_cRVn-...
> "George Hester" <> wrote in message
> news:ZAEPc.84965$...
>
> > 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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
Can't get my usb hard disk to behave anymore nickdevx@hotmail.com NZ Computing 5 03-21-2006 01:53 AM
Urgent: How can I get the enter key to behave like a tab key? Karen Grube ASP .Net Web Controls 3 11-29-2004 03:23 PM
Do threads behave Differently on Windows 98? Codemonkey ASP .Net 1 10-30-2003 04:16 AM
read(STDIN, $GN_QUERY, 100); doesn't behave on Windows IIS Joe Burnett Perl 0 09-07-2003 12:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57