1 Replies - 1301 Views - Last Post: 06 May 2012 - 05:56 AM

#1 StephenIsienyi   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 10-November 08

Firebug Error with the jQuery animate() Method.

Posted 06 May 2012 - 02:08 AM

Hi,

I wonder if anyone can assist me with this issue. FF's Firebug throws "Event is not defined - loader 498.2.68" whenever I invoked the jQuery animate{} method:

$(".element").animate({"width": new_width});


using

<div class="element">
   <ul>
       <li>
          <span class=".elemSpan">
             <img />
             <span></span>
          </span>
       </li>
       <li>
          <span class=".elemSpan">
             <img />
             <span></span>
          </span>
       </li>
       <li>
          <span class=".elemSpan">
             <img />
             <span></span>
          </span>
       </li>
      </ul>
   </div>


Thank you in advance for your assistance.
~Steve

This post has been edited by Dormilich: 06 May 2012 - 02:25 AM
Reason for edit:: please use [CODE] [/CODE] tags when posting code


Is This A Good Question/Topic? 0
  • +

Replies To: Firebug Error with the jQuery animate() Method.

#2 Atli   User is offline

  • Enhance Your Calm
  • member icon

Reputation: 4241
  • View blog
  • Posts: 7,216
  • Joined: 08-June 10

Re: Firebug Error with the jQuery animate() Method.

Posted 06 May 2012 - 05:56 AM

Which version of jQuery are you using? Could you show us a live demo that demonstrates this?

I tested this over here, and it seems to work as expected, using this code:

Spoiler

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1