orkko
10-04-2003, 02:12 AM
that's an easy one for you guys...
I am a bit of a newbie at js, and still crawling compared to some of you guys...
I am working on a page that I created the following code:
<script language="javascript" type="text/javascript">
<!-- hide this
if (navigator.plugins="QuickTime") {
document.write("<embed src='01.mov' width=320 height=240 loop=false
autoplay=true>") }
else {
document.write("<img src='1.jpg width=200 height=200 alt=hehehe'>")
}
// end hide -->
</script>
it won't detect my quicktime... should this part ---> (navigator.plugins="QuickTime") be the reason why?
I am a bit of a newbie at js, and still crawling compared to some of you guys...
I am working on a page that I created the following code:
<script language="javascript" type="text/javascript">
<!-- hide this
if (navigator.plugins="QuickTime") {
document.write("<embed src='01.mov' width=320 height=240 loop=false
autoplay=true>") }
else {
document.write("<img src='1.jpg width=200 height=200 alt=hehehe'>")
}
// end hide -->
</script>
it won't detect my quicktime... should this part ---> (navigator.plugins="QuickTime") be the reason why?