multiple actions from one click? (javascript question)

Permabanned
Joined
18 Jun 2008
Posts
24
Location
Cannock
hi :)

if you have a js command on a click:

Code:
onclick="Effect.toggle('divID', 'blind');

is it possible to do two things on that click whereas above it just does the one?

that command toggles the div with id "divID" up and down with a blind animation using the scriptaculous library, but what i would like to be able to do is use just one button to do a blind up command on one thing and a blind down thing on another...

is this possible?
 
Back
Top Bottom