Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:03
problem with sub menu in iframes......
Poster: chaitu
Dated: Thursday June 15 2006 - 14:09:34 BST
hello all....
can any one help me out????
i have a page like this....
<html><head><title>Frames Test</title></head>
<frameset >
<frame name="fr1" id="fr1" scrolling="no" noresize src="header.htm">
<frameset cols="190,*" >
<frame name="fr2" id="fr2" src="side.htm" BORDER=0 FRAMEBORDER="0" MARGINWIDTH=0 SCROLLING="no" >
<frame name="fr3" id="fr3" src="body.htm" BORDER=0 FRAMEBORDER="0" MARGINWIDTH=0 SCROLLING="NO" >
</frameset>
</frameset>
in frame fr3 i again have a iframe named ifr...
i have my main menu in header.htm and want the sub menu to be opened in iframe....also the frame fr3 only contains an iframe.....and it canot be removed..
what is the aI() i have to write.... and any special things for using iframes....
i have written many things..but some javascript error is coming...
object doesnt support this property or method....
please help me out..
Poster: Ruth
Dated: Thursday June 15 2006 - 17:10:05 BST
Hi,
I don't think you can do what you want. There is a frames menu, that menu is designed to be used with frames, so that the submenus can open in the frame you specify. However, to specify that a submenu is to open in fr3 and also that it is to be 'over' the iframe, I think that is a positioning issue. That is, you need to set the position of the submenu to open in fr3 at the position of the iframe. If you mean you want it to open in the page that is in the iframe, I don't think that's possible since the iframe is an 'inline' frame inside another frame.
The menu is designed to open submenus 'over' iframes in most browsers. A notable exception is Opera which has never seemed to fix the iframes to be actually 'inline' functioning. In Opera, the iframes seem to function like frames being always ontop.
I don't know if I've understood you or not. The best way would be to have a link to the site, or if the site isn't up if you could but up the example.
If this is not an option, then we'd need the html page code for that page that is in the body so we can see what you're trying to do.
Ruth