On Jul 14, 1:51 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]>
wrote:
> The default behavior is show/hide. If you use manual callbacks you need to
> define the full behavior, so you'll want to add the show()/hide() calls to
> your jQuery chain.
The intention wasn't to define the functions which do
>Doh... i was working from this page:
>
>http://docs.jquery.com/Effects#toggle.28.29
>
>in which the callbacks are not mentioned. Perhaps that page should
>link back to the other one in the form of "see also..."
The default behavior is show/hide. If you use manual callbacks you need to
define the
On Jul 14, 1:34 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]>
wrote:
> Toggle already uses
> callbacks:http://docs.jquery.com/Events#toggle.28_even.2C_odd_.29
Doh... i was working from this page:
http://docs.jquery.com/Effects#toggle.28.29
in which the callbacks are not mentioned. Perhaps that
>$("#toggle").click(function(){
> $("#calendar .arg").toggle(
>function(){$(this).Highlight(1000,'#ff9');}, // called when shown
>function(){...} // called when hidden
> ); // toggle()
>...
>} // click()
>
>i believe this could be done without harming backwards-compatibility?
Toggle alr
4 matches
Mail list logo