I just figure it out that if I put my drop down menu inside iframe, all my menus from it will be covered by iframe. The problem is – I dunno how long menu is gonna be, so I can’t set the height, and actually I don’t want to make it really long. Question: is it possible that drop down menus kinda come out from iframe and appear on parent window?
for example:
<ul id="myMenu"> <li><a href="#" onmouseover="mopen('m1')">Home</a> <div id="m1" onmouseover="mcancelclosetime()"> <a href="#">link1</a> <a href="#">link2</a> <a href="#">link3</a> </div> </li> </ul>
this my menu inside iframe file, I want to display div Home in parent window when you rollover the Home link. thank you everyone in-advance. Any suggestion will be helpful.
You can use Javascript to set the parent frame’s
<iframe>element’sstyle.heightto an appropriate value.