Re: Java script Target Frame help....pleeeeaaassseeeeeee

by "amit wadhwa" <amit(at)inetbeam.net>

 Date:  Mon, 16 Oct 2000 19:40:04 -0700
 To:  <webguy(at)re-data.com>,
<hwg-techniques(at)hwg.org>
 References:  data
  todo: View Thread, Original
create a variable and call it later on... 
var WinObj=window.open("url", "main")
<a href="#" onclick="main=window.open(' ', 'main')">
try it and see if it works...
----- Original Message ----- 
From: "A.M.Professor" <webguy(at)re-data.com>
To: <hwg-techniques(at)hwg.org>
Sent: Monday, October 16, 2000 3:38 PM
Subject: Java script Target Frame help....pleeeeaaassseeeeeee


> 
> Hi people,
> 
> I have a dilemma here I forgot how to target the frame from a java script
> that is on the server but referenced from a different link.
> 
> I want the new page to open in another frame named "main"
> 
> What oh what to dooo?
> 
> This is what I have so far but as you can see this will open in the same
> frame not the main.
> 
> siteMenu.addItem(new ITEM("<center>First Floor</center>","flpn1.htm"));
> 
> target="main" ?
> 
> this do not work! What do work?
> 
> TIA to ya'll
> 
> 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA