A frame may be identified as an element by id or name and accessed to change its visibility style property in FF and in IE (version 7 tested) but, will not work in Opera and perhaps others. Given a frame like so on the parent page:
HTML Code:
<frame name="myframe" src="whatever.htm" />
It's element object can be accessed like so:
Code:
parent.document.getElementsByName('myframe')[0]
for visibility (to hide):
Code:
parent.document.getElementsByName('myframe')[0].style.visibility='hidden';
to reveal:
Code:
parent.document.getElementsByName('myframe')[0].style.visibility='';
This still may not allow anything to 'drop over' it though. There are menus that can drop across frames, I still haven't figured out how those work exactly, though I have a rough idea. Perhaps you should look into one of those. Here's one:
http://www.dynamicdrive.com/dynamici...menu/index.htm
Bookmarks