C
Colin MacIntyre
Hi, I tried to follow the tutorial on htmlsource.com, but even if I copy and
paste it, I still can't get a window to popup. Is there something wrong with
this code?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=windows-1252">
<title>
Music
</title>
<link rel="STYLESHEET" href="virtue.css" type="text/css">
</head>
<body>
<script type="text/javascript">
<!--
var newwindow;
function poptastic(url)
{
newwindow=PrivoxyWindowOpen(url,'name','height=400,width=300');
if (window.focus) {newwindow.focus()}
}
// -->
</script>
<p>
Would you like to see <a
href="javascriptoptastic('/chords.html');">
chords</a> or lyrics?
</p>
</body>
</html>
paste it, I still can't get a window to popup. Is there something wrong with
this code?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=windows-1252">
<title>
Music
</title>
<link rel="STYLESHEET" href="virtue.css" type="text/css">
</head>
<body>
<script type="text/javascript">
<!--
var newwindow;
function poptastic(url)
{
newwindow=PrivoxyWindowOpen(url,'name','height=400,width=300');
if (window.focus) {newwindow.focus()}
}
// -->
</script>
<p>
Would you like to see <a
href="javascriptoptastic('/chords.html');">
chords</a> or lyrics?
</p>
</body>
</html>