Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

target mainFrame

Status
Not open for further replies.

Brito

Technical User
Oct 28, 2002
27
GB
I have set up my web page with a top frame for the menu and a "mainFrame" for the display, using javascript for the menu. Although this all the links works fine I cant get the target pages to open in the "mainFrame". I've tried various things but to no avail. The script reads:

eye.spinmenuitem("Home","../index.htm");
eye.spinmenuitem("display","../goods/hardware.htm");
eye.spinmenuitem("Forms","../forms/application.htm");
eye.spinmenuitem("BITS","../discussion/bits.htm");
eye.spinmenuitem("Stress","../stress/strbsindex.htm");
eye.spinmenuclose();

Could someone please advise where I'm going wrong.

Thanks in advance
 
Did you "targeted" the links to the main frame?

vlad
 
because of the menuscript I'm using when I click into the script above the property box only contains selections for: "Language" and "Source" or "Type" there is no drop down menu to select target.
 
How does the line(s) in the script look like, where you "call" the links?

vlad
 
As above, for example the line:

eye.spinmenuitem("Home","../index.htm");

The menu is called "spinmenue" and the button "Home" when clicked opens the "index page"

I've tried to add target="mainFrame" at the end before the ) but when I go to preview the whole thing fails to load and I just get a blank page where the menu is supposed to be.

Sorry if I'm not explaining myself very well.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top