Add a class to each div you want faded and remove the inline handler
create a function that listens to click on the href's
then do something like
function handleFade(element) {
$$('.the-class-name-for-the-faded-elements').each(function(e) {
Effect.toggle(e,'fade'); // fades out
I do not mean to sound 'snooty', but why would you want to have all
four DIV's showing at once?
I would think showing a default DIV and then letting the user choose a
different delivery format would be the best practice, both in terms of
UI design and server logic.
To that end, I have create