Richard is correct but I will add to it.
Once you have the $('#element').hide();
then you would want to place your toggle code after that.
$('a.#id').toggle(function(){
$('#element').show();
},function(){
$('#element').hide();
});
On Sep 20, 9:09 pm, Jonathan <[email protected]> wrote:
> Hi I am a web designer from Belgium and I wanted to thank you first of
> all for these really nice looking "apps".
>
> second, I am having a problem with the toggle effect. I want it to be
> hidden by default and have it visible once you click on the link.
>
> Could you modify the code and show me how this could be done.
>
> thanks you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---