Click to See Complete Forum and Search --> : Change iframe Z-index on runtime


Sunil Ranade
December 19th, 2003, 07:03 AM
Hi All,

I have 2 frames (top , bottom).

I am displaying drowdown menus on top frame.

There are lots of links in the menu.
But I don’t want to scroll my top menu.

Is there any solution.

Can I overlap my top frame on runtime?

Can I change my Z-index on runtime?

I want to change Z-index of both frames on mousemove event.

Regards,

Sunil Ranade

fredmv
January 7th, 2004, 05:23 AM
Assuming the iframe has an id attribute defined, you could do something like this:document.getElementById('foo').style.zIndex = 2;