Hi,
I've an issue using .toggle({unction(){}, function(){});
It works fine if I toggle the element, however, if I click on it to
open and then hide it through another element (a button), the next
time I have to click twice to re-open the content.

Example:
$(".button").click(function() {
        $(".title").next(".content").hide();
});

$(".title").toggle(function(){
        $(this).next(".content").show().html('a');
},function(){
        $(this).next(".content").hide().html('');
});

or
http://zrod.awardspace.com/

Am I missing something?
Thanks

Reply via email to