I would like to get some more information on the addressing of iframes in combination with the menu.
This you can find here:In order to open the menu in an IFRAME you will need a custom JavaScript function. This function is very easy to integrate but it must be used in conjunction with the menu because it uses built in menu functions to get a reference to the IFRAME .
The function is called openIframe and it's parameters are IFrameID and URL
function openIFrame(IFrameID, URL){
ifId=gmobj(IFrameID)
ifId.location.href=URL // Opera Bug Fix. ifId.src=URL
}
http://milonic.com/menusample11.php
With the actual release of the menu system the "targets" setting was
fixed.
See:http://milonic.com/menuvinfo.php
Encouraged by that I have recently set up a menu in an IFRAME, addressing a second IFRAME by using menu item "target" settings and specifying urls
url=file.html;target=_right; And there were no problems to do so. so far !!
Whereas it is recommended to use
url=javascript:openIFrame('tempiframe','path/file.htm');
I have used
url=file.html;target=_right;
(previously having defined the two iframes with names "_left" and "_right"; )
Code: Select all
<iframe src="Startupfile.html" name= "_right" height="580" width="620" scrolling="auto" frameborder="1"></iframe>
http://www.dhyg.de/download/testpage2.html
I would like to know, if the IFrameID of the menu system corresponds directly with the standard definition of the <iframe> name=" " </iframe> property and if the mode I am using it (as described ) may cause problems. (So far everything went smoothly). Comments on that ?
Michael