Using jQuery to switch div class names for animations

Check out the link below.

jQuery switching div class effect with animations.

I’m using Firefox with Firebug addon to see the div automatically change from “newClass” to “anotherNewClass”.

Look at the page and under the div class=”toggler”.

It changes from:

<div class=”ui-corner-all newClass” id=”effect” style=” “>Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.</div>

And when you click Run Effect, it changes to:

<div id=”effect” class=”ui-corner-all anotherNewClass” style=” “>Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. </div>


Related posts:

Web Design and Web Development jobs in Toronto
How to make &lt;UL&gt; and &lt;LI&gt; in WordPress in single lines
WordPress set up tutorial
Creating primitive 3D shapes with Photoshop CS4
Normal Texture Map in Photoshop CS4

Write a Comment



(optional)
*