NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page z-index issue? js + css

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 10-05-2006, 05:52 AM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Jul 2005
Location: Florida
Posts: 233
TeviH is an unknown quantity at this point
 



z-index issue? js + css


Hello,

I am struggling with this and would appreciate any help anyone can give me. I am trying to get a css drop-down menu system to work with this javascript slideshow script I found on the web. Everything works great in Firefox, but in IE, there seems to be a weird issue with the drop down menus falling behind the slideshow.

IE uses a JS to allow the drop downs to work, while FF can just use css (ul:hover doesn't work in IE), and I think that has something to do with it.
????: NamePros.com http://www.namepros.com/programming/244389-z-index-issue-javascript-css.html

I tried adding "z-index" to my CSS to get the div and images from the slideshow to be in the back, and move the ul from the drop downs to the front, but it's not working.

Can anyone tell me what's wrong and how to fix it?

Thanks!

link: http://abuse-recovery-and-marriage-c...ew/index4.html
__________________
www.headlinercreative.com
TeviH is offline  
Old 10-11-2006, 12:36 PM THREAD STARTER               #2 (permalink)
NamePros Regular
Join Date: Jul 2005
Location: Florida
Posts: 233
TeviH is an unknown quantity at this point
 



what's with the no replies?

__________________
www.headlinercreative.com
TeviH is offline  
Old 10-11-2006, 01:43 PM   #3 (permalink)
NamePros Member
 
GoDesign's Avatar
Join Date: Oct 2006
Posts: 167
GoDesign is an unknown quantity at this point
 



css's and JS's are still very unpredictable in cross browser tests,esp IE, which is surprising really....

Have you tried adding a few <BR>'s before this code:

Quote:
<!-- call up our JS page here -->
to push the slideshow a little further down the page, so its not overlapped with your top-menu.
????: NamePros.com http://www.namepros.com/showthread.php?t=244389

you can also do it the better way by searching for:
Quote:
<td width="193" align="left" valign="top">
and changing it to:
Quote:
<td width="193" align="left" valign="center">
Last edited by GoDesign; 10-11-2006 at 02:01 PM.
GoDesign is offline  
Old 10-12-2006, 11:30 AM   #4 (permalink)
NamePros Regular
 
DylanButler's Avatar
Join Date: Jan 2006
Location: San Diego, CA
Posts: 734
DylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to behold
 



I suggest using Stu Nichol's all CSS method on http://cssplay.com . The layers issue with Flash (so I assume it is actually an ActiveX issue) and drop-downs is a known issue on mac IE. However, I believe using the forementioned method will solve the issue. I will check tomorrow at the office to see if that's what our fix is and let you know.
DylanButler is offline  
Old 10-12-2006, 01:52 PM THREAD STARTER               #5 (permalink)
NamePros Regular
Join Date: Jul 2005
Location: Florida
Posts: 233
TeviH is an unknown quantity at this point
 



@godesign: I don't want to push the js too far down the page - adding line breaks is not the solution, but thanks for the suggestion.

@dylanbutler: all-css method of doing what? Drop down menus? There will always be an issue in IE doing drop down menus because IE only support :hover on links, and no other elements. (btw, that link is co.uk, not .com)

Thanks guys. Any other recommendations?
__________________
www.headlinercreative.com
TeviH is offline  
Old 10-12-2006, 05:11 PM   #6 (permalink)
NamePros Regular
 
DylanButler's Avatar
Join Date: Jan 2006
Location: San Diego, CA
Posts: 734
DylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to behold
 



These are the ones I am talking about. http://cssplay.co.uk/menus/flyout2.html
It is possible to obtain the drop-downs without the tables/conditioning, but you can't do the on hover state background staying effect (see link) which looks so much better so we went with it.
DylanButler is offline  
Old 10-12-2006, 05:49 PM THREAD STARTER               #7 (permalink)
NamePros Regular
Join Date: Jul 2005
Location: Florida
Posts: 233
TeviH is an unknown quantity at this point
 



That's an interesting way to do the drop downs. I'll check it out.. I like how it stays hilighted (though the tables are not kind of awkward...)

The layers thing - Im not using flash; that's JavaScript! I would assume that using stu nichols' drop downs would still pose problems with the script. Why wouldn't it?
__________________
www.headlinercreative.com
TeviH is offline  
Old 10-12-2006, 05:52 PM   #8 (permalink)
NamePros Regular
 
DylanButler's Avatar
Join Date: Jan 2006
Location: San Diego, CA
Posts: 734
DylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to beholdDylanButler is a splendid one to behold
 



Have you tried positioning the box containing the javascript absolutely and in conjunction with a z-index?
DylanButler is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:16 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger