Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Redirect w/parameters


Message #1 by jlangdon@c... on Tue, 25 Jul 2000 13:43:51 -0400

Hi everyone,

Below are two scripts - one for opening a new window with parameters by clicking
on the link.   The other is a redirect in the Meta Tags.  Has anyone tried a
redirect to a new window with parameter, i.e.,
width=600,height=400,toolbar=1,menubar=1,status=1,scrollbars=1,location=1,left=40,top=40");???

 My thought are that I would have to use the onLoad function, but I am not sure
how to open a new window using redirect.
}

TIA,

Jeff Langdon
Senior Web Developer
The Copeland Companies

Script#1.

<HTML>
<HEAD>
<TITLE>Mutual Fund Window</TITLE>
<SCRIPT LANGUAGE="JavaScript"><!--
function mfw() {
 open
("http://www.adpfunds.com/servlet/ScreenParser?file=index.html&Brokerage=cplnd","mfw","width=600,height=400,toolbar=1,menubar=1,stat
us=1,scrollbars=1,location=1,left=40,top=40");

}
// --></SCRIPT>
</HEAD>
<BODY>
<a href="javaScript:mfw()";>
Mutual Fund Window </a>
</BODY>
</HTML>


Script #2

<html>
<head>
<title>Investment Options</title>
<META HTTP-EQUIV="Refresh"
CONTENT="0;URL=http://www.adpfunds.com/servlet/ScreenParser?file=index.html&Brokerage=cplnd">

</head>
<body BGCOLOR="#FFFFFF">
</body>
</html>



  Return to Index