Log in

View Full Version : DHTML Menu Z-Order


Intex
07-17-2004, 07:23 PM
Does anybody know how to change the Z-order of the DHTML menu. At the moment, when I've got some flash in my page, i.e. with the Arcade hack, the menus, when selected, goes underneath the flash file, which members are complaining about.

Dark_Wizard
07-18-2004, 10:20 AM
Don't you mean Z-index?

Intex
07-18-2004, 12:15 PM
I thought it was called Z-order, but if it means that it adjusts the z position, then yeah :).

nexialys
07-18-2004, 12:47 PM
<a href="http://www.w3schools.com/css/css_positioning.asp" target="_blank">http://www.w3schools.com/css/css_positioning.asp</a>

Natch
07-19-2004, 04:47 AM
I have tried to do this using the Main CSS editor for the style - it has no effect:

I believe that it will also require some editing of the DHTML java-script that controls the hideing and showing of the menus - their placement etc is controlled also by that, and not soley by the CSS definitions ...

If I look into this further I'll post my findings here - but looking into the clientscript folder will point u in the right direction ...

Intex
07-24-2004, 12:37 PM
Natch - did you have any luck with this - I can't find anything that helps :(.

Natch
07-24-2004, 12:57 PM
I aint looked any further mate ...

I'll take a quick look now ...

Natch
07-24-2004, 01:03 PM
It'll be a matter of researching the DOM and adding a z-index manipulation into the vbulletin_menu.js:vbmenu_init() I think ...

Natch
07-24-2004, 01:27 PM
Sorry mate - bad news (https://vborg.vbsupport.ru/showpost.php?p=536519&postcount=94) :(

Edit: // Hehe - Good News! (https://vborg.vbsupport.ru/showpost.php?p=536524&postcount=95)

Intex
07-24-2004, 03:50 PM
Thx. for looking into that Natch, but where do you make the change in the DHTML menus as opposed to Erwin's templates for the arcade. I actually have v3arcade installed anyway.

However, the problem really needs to be tackled at the DHTML menu side of things as this also affects other areas of a website, e.g. if you've put in a flash file into a post, the menu will still go under that.

Any ideas on that?

Natch
07-25-2004, 05:43 AM
If you put the flash into a post uaing HTML, then you have no control - Flash WILL NEVE behave according to z-index - it just wont.

However, if you put the flash in with a bbcode, then you can make this mod easily enuff in the bbcode...

Intex
07-25-2004, 02:44 PM
OK, thanks Natch.