Inline Show/Hide toggle between 2 divs

If you change this line:

$$('.info-panel').invoke('addClassName', 'hidden');

to this:

$$('.info-panel').invoke('addClassName', 'hidden').first().removeClassName('hidden');

…then the first panel will be open at page load.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at: