Click to See Complete Forum and Search --> : Help! Mouse Trail Effect


Htmlmonky
12-20-2002, 01:17 AM
I just added this script DHTML SCRIPTS (http://www.dynamicdrive.com/dynamicindex13/trailer2.htm) to my site for an image trail that reacts to movements of the mouse. It looked great on Internet Explorer...but when I checked it out on netscape, the script did not work. Instead it left the image still, not responding to mouse movements. And to make things worse the image settles right on top of a chunk of text making that section unreadable. What I need to know is can I get the script to work with Netscape, and if not, what can I do to make a browser (that does not work with the script) completely skip over the script all together and not show the image at all? If you need further explanation or a link either respond to the topic or email me at Email Address (Partymonkey1@aol.com) Thanks, Mike

ShrineDesigns
12-22-2002, 01:57 AM
i know there are a lot of these type of scripts; you may want to find a similar one that you that works in NN or is disable in NN

this will detect the browser; without seeing the script i have no idea as to how to cancel the script

if (navigator.appName == "Netscape"){
statement...
}

Htmlmonky
12-24-2002, 02:15 AM
Great thanks a lot!! I'll use that, but does anyone else know how to make a browser skip over a script if it cannot read it...is this even possible?

spoontacular
12-31-2002, 01:12 PM
<script language="JavaScript" type="text/javascript">
<!--
...code...
//-->
</script>

That way, the script is hidden from browsers whom either have JavaScript disabled or don't support it.