Click to See Complete Forum and Search --> : Crossframe cascading menus


Jumpman
02-14-2003, 11:11 AM
--When it comes to actual Java Script writing, I am certainly no expert....But I am using JS Source's cascading menu (from Arun Kumar with external CSS and JS files). I have it in a separate, frozen frame at the top of my page, and of course the menu drops down into oblivion behind the lower frame!
Is there a special cross-frame tag that can fix this, or is there a unique, different menu script? I am personally no fan of the dynamic menu scripts that blink and stumble around as you scroll.....
Thanks

khalidali63
02-14-2003, 11:22 AM
There won't be a clean solution to this.But you can try this.

have the menu in the main page.
set the z-index property of al the menu items very high,then create a div and set style attribute with z-index to be 1 .

now create the iframe in this div and set the width and heights to what you want.

I think*-* it will work..

cheers
Khalid

Jumpman
02-14-2003, 11:30 AM
thanks I'll try that, but what exactly is "z index"? rolleyes:

cheese_stinks
02-14-2003, 05:35 PM
I don't think you can cross frames like that... but you can put the top frame in a fixed div instead to have almost the same effect.

Jumpman
02-14-2003, 09:54 PM
Maybe I can clarify things a bit more.......
I'm pretty sure there is a way to have cascading menus appear at the top of another frame. Floating 'divs aren't really my thing;)

cheese_stinks
02-15-2003, 12:07 AM
Well, yeah, that's possible if you use an iframe for the main page whose z-index is lower than the menu's.

Jumpman
02-15-2003, 04:22 PM
I have found a different menu script that works with a frameset...It has pure java script as the frozen frames (not divs)
It seems a bit complicated though.

-->>www.twinhelix.com/dhtml/scripts/popupframe/index.html (http://www.twinhelix.com/dhtml/scripts/popupframe/index.html)