Well, seems pretty clear to me but, as an example, let's use one from the demo:
Code:
dhtmlMenu.addItem(new NavBarMenuItem("CNN", "http://www.cnn.com"));
This will open in the same window or, if it is in a frame, the same frame, replacing whatever was there. If we want to target another frame, we need to know the name of this other frame (I assume you know about regular html frames, their names and the ordinary way to give a name to a frame, if not, just say so). Let's say the frame we want to target is called 'main'. We will change the above code to look like this:
Code:
dhtmlMenu.addItem(new NavBarMenuItem("CNN", "javascript:parent.main.location='http://www.cnn.com'"));
Bookmarks