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

open a new window 1

Status
Not open for further replies.

tnbrwneyez

Programmer
Oct 2, 2004
19
US
I need to take the following script and open a new window using the address:
<SCRIPT LANGUAGE="JavaScript">
<!--



function newWindow() {


}



//-->
</SCRIPT>

Thanks!
tnbrwneyez
 
This is one way
Code:
<html>
<head><script>
function newWindow() {
window.open( "[URL unfurl="true"]http://www.ciwcertified.com.",[/URL] "_blank" )
}
</script>
</head>
<body onload = "newWindow()">test
</body>
</html>

Glen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top