Oh boy, oh boy - i can see clearly now (the rain has gone ;-)).
This is so easy - i am learning more and more , thx Jörn !!
I now changed it to :
$('.Show_hide').Accordion({
active: false,
alwaysOpen: false,
showSpeed: "slow",
hideSpeed: "slow"
}).change(function(event, newHeader, oldHeader, newContent, oldContent){
if (newHeader.text() == oldHeader.text ()) {
newHeader.removeClass('selected').addClass('notSelected');
}
});
Grt:Cees
Jörn Zaefferer wrote:
>
> The change callback gets five argument in total. The first argument is a
> default event object, the others refer to the new and old title and
> content elements (see the example). So you can just refer to these
> arguments instead of searching for the elements on your own. That should
> be much easier.
>
--
View this message in context:
http://www.nabble.com/Accordion---onHide---onShow-actions-available--%21-%21-tf3300677.html#a9432473
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/