Results 1 to 2 of 2

Thread: DHTML mouse over effects not working in firefox

  1. #1
    Join Date
    Apr 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML mouse over effects not working in firefox

    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:

    Code:
    <script language="JavaScript" fptype="dynamicanimation">
    <!--
    function dynAnimation() {}
    function clickSwapImg() {}
    //-->
    </script>
    <script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">
    </script>
    <meta name="Microsoft Border" content="t, default">
    </head>
    
    <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>
    Last edited by jscheuer1; 04-12-2009 at 02:04 PM. Reason: proper format of code

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •