Using jQuery to switch div class names for animations

Check out the link below.

jQuery switching div class effect with animations.

I’m use 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:

Why I hate Internet Explorer 6 aka IE6
How to make customize PHP form with WordPress
Blog import and blog export with WordPress
Web designers and web developers’ checklist at www.launchlist.net
Photoshop most common 3D file formats

Write a Comment



(optional)
*