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:

CSS syntax tutorial
HTTPS security disable &amp; security enable at WordPress.com
How to change url in WordPress
How to use Paint Mask with Photoshop CS4
Normal Texture Map in Photoshop CS4

Write a Comment



(optional)
*