| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Florida
Posts: 233
![]() | 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 |
| |
| | THREAD STARTER #2 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Florida
Posts: 233
![]() | what's with the no replies?
__________________ www.headlinercreative.com |
| |
| | #3 (permalink) | ||||||||||||
| NamePros Member Join Date: Oct 2006
Posts: 167
![]() | 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:
????: NamePros.com http://www.namepros.com/showthread.php?t=244389 you can also do it the better way by searching for:
Last edited by GoDesign; 10-11-2006 at 02:01 PM.
| ||||||||||||
| |
| | #4 (permalink) |
| NamePros Regular Join Date: Jan 2006 Location: San Diego, CA
Posts: 734
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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. |
| |
| | THREAD STARTER #5 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Florida
Posts: 233
![]() | @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 |
| |
| | #6 (permalink) |
| NamePros Regular Join Date: Jan 2006 Location: San Diego, CA
Posts: 734
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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. |
| |
| | THREAD STARTER #7 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Florida
Posts: 233
![]() | 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 |
| |