[jQuery] Tabs with fade and slide - jQuery bugs and questions
Hi all,
I added slide and fade effects to the tabs plugin. I am using the latest
svn version (rev 169):
http://stilbuero.de/jquery/tabs/
Some things don't work so far:
1. There seems to be a bug when using slideUp/slideDown - somehow the
height is not calculated correctly when switching tabs, as if the height
of the initial tab's content is taken for all slideDown operations.
Maybe I got something wrong, because there have been some changes to the
effects?
2. How to combine fade and slide (see last example)? I think with
$().fadeOut().slideUp() the effects are now queued?
3. When using fadeIn/fadeOut the console reports an error for the value
of opacity (I have the original message in german only). What is wrong here?
4. How can I reset opacity? To retain acccessibility for print and other
media types I'm adding a class for hiding and remove the style attribute
values after the effect is done.
That works fine with slide:
$(this).addClass(OFF_CLASS).css({display: '', height: 'auto'}); //
But not with opacity:
$(this).addClass(OFF_CLASS).css({display: '', opacity: '1'});
An idea anyone? Maybe this has to do with the error Firefox reports here?
Regards, Klaus
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/