Hi there,
I've got a piece of javascript on my website which replaces broken images with a 'Image Unavailable Image' .
The problem i've got is that it doesnt seem to work in Firefox
So can anyone think why and help me out?
Heres the script:
And heres how the html image tag is set out:Code:<script language="JavaScript"> function ImageLoadFailed(pic) { pic.src = "noimage.jpg"; } </script>
ThanksCode:<a href="linktosite.html"><img src="myimagethatsbroken.jpg" alt="alt_text" width="150" height="113" border="0" OnError="ImageLoadFailed(this)" />
Rhys


LinkBack URL
About LinkBacks
Reply With Quote

