Fun stuff you find out when try­ing to get into Ruby on Rails. Since the pro­to­type and ef­fects li­brary come with Rails it is no sur­prise that one stum­bles over then at some point (when doing some AJAX stuff for ex­am­ple). Now, i know that there are some cool things out there, but i have never even used Javascript or been very tempted to do so. Well, until now ;). Check out the links below, they do some­thing with the header of the weblog (so, this is only cool as long as this ar­ti­cle is on top or when you have opened the ar­ti­cle page).

Tog­gle vis­i­bil­ity (Use this when one of the ef­fects has hid­den the header)

The fol­low­ing only make sense when the header is vis­i­ble ;)

Shake it baby!

Fade away!

Fold it!

Shrink it!

This make sense when the header is in­vis­i­ble

Blind Down!

Ap­pear!

It seems that the Ef­fects are cour­tesy of script.​aculo.​us, a web­site ded­i­cated to those ef­fects in RoR/AJAX En­vi­ron­ments, which i have vis­ited many times be­fore, but never used their stuff. I can only guess how much cool things lie ahead ;)