- Where Developers Learn, Share, & Build Careers


OK so I only need to learn JQuery for some animation on one site.

I'm reading the tutorial, and I'm just trying to implement a simple diagonal step animation.

I'm still very new to JQuery (as it has started today), but whatever I think, the following code should work. What am i doing

  & lt; Head & gt; & Lt; Script type = "text / javascript" src = "jquery.js" & gt; & Lt; / Script & gt; & Lt; Script & gt; Click to edit an '' '' '' '' '' '(' = '= 50', below: '+ = 50'}, 1000) '' '' '' '' '' ''. }}}}); & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div id = "moveme" & gt; This lesson is & lt; / Div & gt; & Lt; / Body & gt;   

Edit:

The associated assets of the CSS and the fixed brackets have been combined with the document But still is not working.

It seems that you have forgotten some brackets to select the elements correctly.

What about it?

  $ (document) .ready (function () {$ ("# moveme"). Click (function) {$ (this) .at ({right: '+ = 50 ', below:' + = 50 '}, 1000); a' '' '' '' '' '' '' '' '' '. Just click ???}}}}}};   

Edit:

Also, Ensure that you are importing the jQuery Script Library :

  & lt; Script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" & gt; & Lt; / Script & gt;    

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -