More options here
http://www.htmlgoodies.com
Main Topics
Browse All TopicsI need to create popup window valid for most common internet browsers.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
More options here
http://www.htmlgoodies.com
Try this:
a href="temp.html" onclick="window.open()">Li
Or here is some sample JavaScript
function NewWin(sNewUrl, iOptions) {
var sURL = sNewUrl;
var sParams = '';
if (iOptions == 1) {
sParams = 'left=10,top=10,width=575,
winName = 'winInstrHub';
if (! sURL == "") {
newWnd = window.open(sURL, winName, sParams);
//newWnd.focus();
}
}
else if (iOptions == 2) {
sParams = 'left=0,top=0,width=600,he
winName = '';
if (! sURL == "") {
newWnd = window.open(sURL, winName, sParams);
//newWnd.focus();
}
}
else if (iOptions == 3) {
sParams = 'left=150,top=100,width=39
winName = 'winRespond';
if (! sURL == "") {
newWnd = window.open(sURL, winName, sParams);
newWnd.focus();
}
}
}
Example:
<html>
<head>
<title>Win1</title>
<script>
function openWin() {
var newWin = window.open('win2.htm','wi
}
</script>
</head>
<body>
<form action="" name="myform" id="myform">
<input type="button" value="Open Window" onClick="openWin();">
</form>
</body>
</html>
Here is the EXACT CODE:
<SCRIPT language="JavaScript1.2">
function poponload()
{
testwindow= window.open ("pagetoappear.html", "PopUp1",
"location=0,status=0,scrol
testwindow.moveTo(50,50);
}
</SCRIPT>
<!-- Beginning of Angelfire Ad Code Insertion -->
<script language="JavaScript">
<!--
function stopError() {
return true;
}
window.onerror = stopError;
//-->
</script>
<BODY onload="javascript: poponload()">
//--> BODY/REST GOES HERE
Sincerely,
Ben
oops. Sorry. I accidentally inserted something extra from a copied code. Here is the popup code:
<SCRIPT language="JavaScript1.2">
function poponload()
{
testwindow= window.open ("pagetoappear.html", "PopUp1",
"location=0,status=0,scrol
testwindow.moveTo(50,50);
}
</SCRIPT>
<BODY onload="javascript: poponload()">
//--> BODY/REST GOES HERE
Sincerely,
Ben
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<a href="#" onClick="window.open('http
</body>
</html>
Simply go to this site, http://javascript.internet
Business Accounts
Answer for Membership
by: hongjunPosted on 2003-08-06 at 06:22:58ID: 9090681
You may try );
<script language="JavaScript">
window.open("yourpage.htm"
</script>
hongjun