Board Logo

menu doesnt view in frameset
jd_boss_hogg - 12/13/2007 at 02:24 PM

Hi - hoping someone can help.

My menu does not display in my frameset, but does display when viewing the page directly. I've looked at the example, and read other postings, and it all looks like it should work - it's simply enough - but just doesn't diplay at all.

index.html
------------------------------
<html>
<head>
</head>
<frameset rows="280,*" border="0" frameborder="0" framespacing="0" >
<frame name="header" scrolling="no" noresize src="header.html">
<frame name="main" src="page-main.html">
</frameset>
</html>


If i view header.html, it looks fine, but if i view index.htm then the menu doesn;t display (but everything else does). Do i have to tell the menu that it's IN a framset (i have put no functionality to the menu's at the moment, just getting the display correct before i work on them)

thanks...


botello.antonio - 4/8/2009 at 02:56 PM

You have to declare something like this when calling the menu items:

var frameset = [['NAME OF YOUR FRAME'],]

new menu (MENU_ITEMS0, MENU_POS0, {'forms' : ["fdiv"], 'zIndex' : 20, 'frames' : frameset});


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/