javascript - jQuery animation for an unknown number of - 's -


I know this code is super lame, but it was still working very well "so I kept it But now I have a lot of & lt; li & gt; s and I can not manually add them to JS because it is on wordpress and this category depends on the page so that the number of & lt; li & Gt; changes every time

My question is; How can I keep that animation and this one Works with defined number & gt; manually & gt; manually without adding them? And what is the method to stop scroll-bar scroll-to-end without using CSS overflow-w? Hide ?!

Here's the demo:

Thank you very much! Hope you can help me!

Tom

I suggested: / P>

  $ (document) .ready (function () {$ ( 'Li'). Each (function (i) {$ (this) .delay (400) .net ({'top': '10px'}, 1 500 + (500 * i))}});});) ???   

.

Oh, and please note that you are repeating all for id li element: this invalid HTML As is:

id = name [cs]

Specifies a name. This name should be unique in a document.

(quoted from)

Reference:



Comments