View Full Version : DHTML mouse over effects not working in firefox

04-12-2009, 12:35 AM
1) Script Title:

2) Script URL: http://blackbootyplanet.com/just_a_test.htm

3) Describe problem: I need help I'm using dhtml mouse over effects in frongpage and its not working on my site in firefox but its working in ie8 can someone please help me out here is the code:

<script language="JavaScript" fptype="dynamicanimation">
function dynAnimation() {}
function clickSwapImg() {}
<script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">
<meta name="Microsoft Border" content="t, default">

<body onload="dynAnimation()" language="Javascript1.2">
<p dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="color: #0000FF; text-decoration: underline" onmouseover="rollIn(this)" onmouseout="rollOut(this)" language="Javascript1.2">
just a test</p>

04-12-2009, 02:05 PM
The language attribute has been deprecated, get rid of it, there could also be other problems.

That sort of effect can be achieved in all modern browsers simply by using the css hover pseudo class. However, in IE 6 and less the pseudo class hover will only work on links.