PDA

View Full Version : DHTML layers problem



stonecoldjk
01-16-2004, 02:37 PM
Hi,
I am having a sliding menu in DHTML .The problem is that it slides under a dropdown (<select></select>)
How do i avoid the problem.I have tried setting z-index. Also i do not want to use IFRAME.
Thank You.

DarrenPWS
01-16-2004, 06:54 PM
Perhaps I am not meant to be a programmer due to my difficulty in understanding people, but to me, this really doesn't make any sense - sorry.

Please re-phrase the question offering a more specific description, and offer an example to make it even easier for dumb-asses like me to make sense of.

Thanks,
DD

paulhiles
01-16-2004, 07:14 PM
I think I recognise the problem you're describing here, stonecoldjk... it would still be good to have a URL or possibly a small section from a screen grab! - particularly for poor Darren's benefit! ;o)

The problem as I understand it, is that the select form element appears to cut through the dropdown layers of your DHTML/JavaScript menu - is that right? I know Thomas Brattli of www.dhtmlcentral.com had a huge variety of DHTML menus, and he did his utmost to ensure they were cross-browser and bug-free. You may find your answer on that site.

Good hunting!

Paul

PS. I also spotted this link (http://www.ozoneasylum.com/Forum2/HTML/002449.html) while browsing dhtmlcentral, it's not a magic solution, but at least you can see you're not the only one with this problem!

paulhiles
01-16-2004, 08:02 PM
This looks to be another relevant link that deals with the same issue.
http://notnull.org/docs/windowedvswindowless.htm
All looks a bit complex to me!! couldn't you just move the select box somewhere else?! :o)

This method on the other hand, seems to be a bit simpler...
combining CSS and JavaScript control over layer visibility.
SELECT Element Overlapping CSS/JS Menu Workaround (http://www.webreference.com/programming/javascript/form/3.html)


Paul

mikmik
01-17-2004, 02:02 AM
Didn't redcircle just have this prob recently?
I can't find the post, but it was a simple solution, if I recall.

Yar! (lol)
http://www.webproworld.com/viewtopic.php?p=57266&highlight=#57266

However, it looks like it is not quite the same.
(Score: paulhiles 573 - mikmik 2 LOL)