prototype

Make images appear in random order

It's a very easy to achieve, but beautiful effect. All images and objects with class .appear_randomly will appear in slightly random order.

Enough to do is to load appropriate library (Prototype/Scrip­taculous or jQuery), create a site wide loaded Javascript file (in example generic.js) and put this simple code inside:

Show and hide div - Prototype with XhochY modification

The goal is to look if the modified Prototype actually works. Let's make an object hide and show on user action.

hide

this is a test object which should hide and show on user action