Dear All,
I'm new to SitePoint and I hope someone can help or advise me. Below is the javascript I have on each of the pages for the links on my website: http://homepage.eircom.net/~hogsruscork
Everything works in IE5, but I have problems in Netscape 4.6, and Netscape 6.
In NS4.6, the rollover works once, without the sound, and then just flips from the "off" state to the last frame of the "on" state in the animated gif.
In NS6 however, still no sound, and the rollover just goes from the initial "off" state to a blank "on" state.
I would really appreciate it if anyone could offer some advice as to where my problem might lie.
Thanks in advance.
Keith Kenrick.
<html>
<head>
<title></title>
<script language="JavaScript">
<!--
if (document.images){
bikeOn = new Image
bikeOff = new Image
bikeOn.src = "images/bikeon.gif"
bikeOff.src = "images/bikeoff.gif"
bikeOn1 = new Image
bikeOff1 = new Image
bikeOn1.src = "images/bikeon.gif"
bikeOff1.src = "images/bikeoff.gif"
bikeOn2= new Image
bikeOff2 = new Image
bikeOn2.src = "images/bikeon.gif"
bikeOff2.src = "images/bikeoff.gif"
and do the same sort of thing for the first one. As for your sound, that script you have is designed to only work in IE 4+. instead, you might want to look into another script that should work in most newer browsers. You can check it out here:
Hey Adog,
Have tried this script you pointed me too about 5 million times at this stage. No show. Could there be some reason as to why it wouldn't work?? See thing is, I tried out the site you pointed me too with Netscape 4.6 and the sounds are NOT rendering. The browser throws up Javascript errors....
Please help!
Thanks,
Keith.
Thnig is, what you'll see when you view the source code is the code in my first post. I have been working on offline copies of the code you sent me. Here's pretty much what I've managed to come up with. I've probably omitted something incredibly obvious....
Did exactly what I posted work for you AriellaDog? what version of NS are you using?? I've tried 4.6 and 6 and the code doesn't work right! Could this be a plugins issue??
Tharg: Thanks for trying out the code also. Glad someone else couldn't get it to work
Any last suggestions...anyone...??
Thanks in advance. In the meantime if I come up with a solution, I'll be sure to let you know.
Type aboutlugins into your address bar in NS - it'll tell you what plugins you have. I seem to be missing some audio ones (Liquid Audio...hmmm) I'll get back to you on this one hirogen7.
Bookmarks