Did you check slideToggle() in the doc:
http://docs.jquery.com/Effects#slideToggle.28_speed.2C_callback_.29  ?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Harwood
Sent: vendredi 2 février 2007 13:18
To: discuss@jquery.com
Subject: [jQuery] Creating Custom Show/Hide system

Im trying to get my head around jQuery again, this time im wanting to create
a simple show hide system.

I have a simple UL base menu and a couple of SPANs within a DIV which i wish
to show/hide depending on which link is clicked.

Im unsure as to the best way of creating a custom function for doing so, i
wish to pass thru the ID of the div i want to show and then hide any others
that are shown, similar to the accordion plugin.

Anyone able to help?

Many thanks
Mark 'Phunky' Harwood

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

-- 
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.441 / Base de données virus: 268.17.19/663 - Date: 1/02/2007
14:28
 


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to