Re: [jQuery] Safari doesn't like show()

2006-08-26 Thread John Resig
I've resolved this issue in jQuery 1.0:
http://jquery.com/src/jquery-1.0.js

It was an issue with how Safari handles computedStyle() when an
element has its display set to 'none'.

> I found that if you use CSS class to hide something in safari then you
> need to use raw STYLE=" display: none" to get it work correctly in
> safari  useing a classs="myHideClass"  is not working, so thats my
> solution, that worked for me. you may want to try it. it sucks but its
> the only solution i known that would work

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Safari doesn't like show()

2006-08-18 Thread Duncan Anker
Hi list,

After converting a drop-down menu script to jquery, our designer  
pointed out that the menu was no longer working under Safari.

I have tracked this down to the use of "show()" which, while it works  
perfectly under Firefox and Opera, does not seem to do anything under  
Safari. It does work when called as "show('fast')" or similar,  
however the animation effects are not desired.

The best compromise I can come up with is to call it with a value of  
1, however it still leads to a short delay before the menu displays,  
where it should display immediately.

Are there any work-arounds for this, or is it just something else  
Safari does badly?

Thanks in advance,
Duncan



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/