Klaus Hartl schrieb:
> Jörn Zaefferer schrieb:
>   
>> Ok. The ":selected" issue seems to be the same as in Opera 8.5, I have 
>> no idea what to do about that. But that shouldn't be a real issue.
>> The 15th XPath test fails in all browsers, it simply documents a bug in 
>> jQuery and is not Konquerer specific.
>> It's quite likely that the serialization fails because of very minor 
>> encoding differences, if I remember correctly, that problem occured in 
>> Opera 8.5, too.
>>
>> But apart from those, everything seems fine. So what exactly is your 
>> issue? Looks like the test suite doesn't help us.
>>     
>
>
> Jörn, I found that animations in general do not work fine. For example 
> in Tabs if I use show() that has no effect in Konqueror whereas 
> css('display', 'block') does.
>
> Something basic must have changed in jQuery 1.1, because all worked fine 
> with jQuery 1.0...
>   
1.1 hide's only visible, and shows only hidden elements. I guess the 
filtering for that fails. Maybe someone can try this code and see what 
is necessary to get it working:

show: function(speed,callback){
        var hidden = this.filter(":hidden");
        speed ?
            hidden.animate({
                height: "show", width: "show", opacity: "show"
            }, speed, callback) :
           
            hidden.each(function(){
                this.style.display = this.oldblock ? this.oldblock : "";
                if ( jQuery.css(this,"display") == "none" )
                    this.style.display = "block";
            });
        return this;
    },

hide: function(speed,callback){
        var visible = this.filter(":visible");
        speed ?
            visible.animate({
                height: "hide", width: "hide", opacity: "hide"
            }, speed, callback) :
           
            visible.each(function(){
                this.oldblock = this.oldblock || jQuery.css(this,"display");
                if ( this.oldblock == "none" )
                    this.oldblock = "block";
                this.style.display = "none";
            });
        return this;
    },

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to