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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

_parent target 1

Status
Not open for further replies.

JRAY

Technical User
Mar 28, 2001
13
US
I'm using a JavaScript drop-down navigation menu in my intranet, and I'd like to point all the URL's from one of the drop-down lists to load in a separate window. The window is a database portal, and I want all my databases to be accessible through that window. Basically my question is:

How do you determine what the _parent target is?

I know I'm just overlooking something simple. Any help would be appreciated.

Thanks,
Psilocybe
 
parent is the upper frame

<frameset rows=2 ...>
<frameset cols=2 ...>
<frame name=one>
<frame name=two>
</frameset>
<frame name=three>
</frameset>

one and two 's parent is the RED frameset
three's parent is the BLUE one
 
Thanks Iza

The problem is, I'm not using frames. I want the URL's in the navigation menu to all load in that separate window without opening a new window every time. Here is a piece of the code:

// Databases menu.
menu[2] = new Array();
menu[2][0] = new Menu(true, '>', 0, 30, 155, defOver, defBack, 'itemBorder', 'itemText');
menu[2][1] = new Item('Design Tracking', 'This is where I specify the URL', 'This is where I specify the target', defLength, 0, 0);

How do I make sure that all my items in this portion of the drop down menu load in the target window I designate? Once a user wishes to be in my database portal, all database interaction needs to take place out of that window, so they can bounce back to the other portals in which they will have their own windows too.

Thanks!
 
to open a new window in javascript :
windowname = window.open(url, title, options)

to refer to this opened window from any place : windowname.document.whatever
to refer to the OPENING window from the opened one : opener.document.whatever
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top