Posted by groovetherapy on 02/19/06 12:35
Ok - I tried the java script that was posted above - it works, but
still doesn't open up individual windows. It seems to do exactly the
same as the original html code I posted above. What exactly does this
Java script do that is any different? Are there any advantages to using
script instead?
<script type="text/javascript">
var MyWindow;
function pop(x){
MyWindow=window.open(x.href,x.target,'width=600,height=565')
}
</script>
<title></title>
</head>
<body>
<a href=
"http://www.groovetherapy.com.au/images/label_scans/calbido.jpg"
target="_blank" onclick="pop(this);return false;"><img src=
"http://www.groovetherapy.com.au/images/small_scans/calbido_sml.jpg">
</a>
[Back to original message]
|