FW: window.open
Michael Sauers
msauers at bcr.org
Tue Jul 20 14:43:27 EDT 1999
Thanks to Larry Scritchfield of the AZ Daily Star for offering an
alternative. It seems that what I want will work as a function but not as a
direct link. This solution works in both Netscape and IE.
<html>
<head>
<script language="JavaScript">
<!-- //
function myfunc(url){
window.open("http://www.yahoo.com/","yahooWindow","height=300,width=400");
}
//-->
</script>
</head>
<body>
The <a href="javascript:myfunc()">Yahoo!</a> Site.
</body>
</html>
--------------------------------------------------------
Michael Sauers, Internet Trainer
Bibliographical Center for Research (BCR)
Aurora, CO :: msauers at bcr.org
PGP public Key and other info available @
http://www.bcr.org/~msauers
The WWW Library Directory is @
http://www.webpan.com/msauers/libdir/
"Government did not become more responsive due to
online users; it just became more responsive to them."
-- Eli M. Noam, Columbia University
"Will the Internet Be Bad for Democracy?
NetFuture #91
Opinions expressed are my own unless otherwise noted.
---------------------------------------------------------
More information about the Web4lib
mailing list