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!

Set target frame 1

Status
Not open for further replies.

shangrilla

Programmer
Nov 21, 2001
360
US
Is there any way I can set the target frame of my page to _top.

I want this page(login) to open always on top of all open pages.

Top Frame (Menu)

Left Right Frame (Pages)
Frame Page opens here w/ left & top frame visible.
(Tree) I only want to view only the login page.
 
so you want to force your login page out of frames?
in the login page, you could use this:

if (parent.frames.length > 0)
parent.location.href = location.href;

=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top