You are here: Re: works in firefox but not in IE6 « HTML « IT news, forums, messages
Re: works in firefox but not in IE6

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&amp;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&amp;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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация