|
Posted by Nospam on 01/27/07 11:37
Ok I finally got it pass the validtor but I am still stumped as to why it
works in firefoxs but not in IE6
The updated code is now:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head> <title>Lost preview</title>
<script type="text/javascript">
var popup = false;
function loadFlash(url, w, h) {
//url = unescape(url.href);
url = url.href.toString();
url = url.substring(url.indexOf('?')+1);
url = url+'&&'+w+'&&'+h;
if(popup && !popup.closed) popup.close();
popup =
window.open('template3.html?'+url,'','width=880,height=700,resizable=1');
popup.onload = function() {
popup.document.getElementById('content').innerHTML = htm;
}
popup.focus();
return false;
}
</script>
</head>
<body>
<a onclick="loadFlash(this,480,380); return false"
href="http://www.dailymotion.com/flash/flvplayer.swf?20061026012254&url=
http%3A%2F%2Fchi-v91.chi.youtube.com%2Fget_video%3Fvideo_id%3DDPzMvzWlmzw">
Lost - 2007 Preview Moments 3</a>
<a onclick="loadFlash(this,300,260); return false"
href="http://www.dailymotion.com/flash/flvplayer.swf?20061026012254&url=
http%3A%2F%2Fchi-v119.chi.youtube.com%2Fget_video%3Fvideo_id%3Djf4hnNSaEeM">
Lost - 2007 Preview Moments 1</a>
</body>
</html>
http://watchanimation.awardspace.com/sample5.html
[Back to original message]
|