Uday
unread,Jul 3, 2009, 10:09:25 AM7/3/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MooTools Users
Hi,
I'm very new to this have have been playing around with the examples,
i came across a situation which i couldn't solve, any pointers help
would be appreciated.
I have two buttons 'A' and 'B', each of which have their own vertical
divs 'a' and 'b'.
what i would like is:
when the page loads NOTHING is shown, ie neither of the divs are
visible, then when an user click on button 'A' div 'a' is visible
[which is easy enough] if the user clicks on button 'B' div 'b' is
visible,
BUT, if either of the other divs were open when a button was pressed
ie.if button 'A' was pressed after button 'B' then div 'b' should
close and div 'a' should open and vice versa.
i cant seem to do it...
any one who can help?
thank you
-U