Im not sure how iFrames work, but this may help you work it out.
By the way, Im having issues with the menu myself. When I mouseover items they expand, but when I take the mouse away from the menu the menu remains expanded on the last option i was on.
// Creates a menu called myMenub
var myMenub = new WebFXMenuItem;
// Creates a WebFXMenuItem called Cars that links to cars.html
var item = new WebFXMenuItem("Cars", "cars.html", "Cars");
// Tells the item to open up in the target '_blank' (A new page).
item.target = "_blank";
// Adds the item to myMenub
From: Brendan PengSent:
January 27, 2004Subject:
Re:WebFXMenuItem How to point to an Iframe
I understand the constructor on a basic level
how to add a WebFXMenuItem(sText, sHref, sToolTip, oSubMenu)
var myMenub = new WebFXMenu;
myMenub.add(new WebFXMenuItem("Cars", "cars.html","Cars"));
But how do I add the properties to it
That is I want this link (html page) to open in a iFrame called 'Main' but I don't know how to apply the 'target' property because there are no examples.