[jQuery] Re: fadeIn w/jQuery 1.1.3?

2007-07-03 Thread Joel Birch


On 04/07/2007, at 12:24 AM, Priest, James (NIH/NIEHS) [C] wrote:

$('#warning').css('display', 'none').fadeIn(1000);
This seems to work as well...

And in the previous version (1.1.2) it worked without first hiding
things (?)

Jim


This affected the Superfish plugin too. The CSS to hide the submenus  
involved moving them outside the viewport so technically they weren't  
classed as "hidden". Didn't matter in 1.1.2, but I needed to add .hide 
() before the reveal animation for it to work in 1.1.3. Not sure  
which behaviour is correct, both sort of make sense.


Joel.


[jQuery] Re: fadeIn w/jQuery 1.1.3?

2007-07-03 Thread Priest, James (NIH/NIEHS) [C]

> -Original Message-
> From: Brandon Aaron [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 03, 2007 10:06 AM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: fadeIn w/jQuery 1.1.3?
> 
> The fade in message is not hidden. Try:

> $('#warning').css('opacity', 0).fadeIn(2000);
This one doesn't work...  My content expands but the element never fades
in...


> $('#warning').fadeOut(2000).fadeIn(2000);
This one works - it fades out and fades back in as expected...


$('#warning').css('display', 'none').fadeIn(1000);
This seems to work as well... 

And in the previous version (1.1.2) it worked without first hiding
things (?)

Jim


[jQuery] Re: fadeIn w/jQuery 1.1.3?

2007-07-03 Thread Brandon Aaron

The fade in message is not hidden. Try:

$('#warning').css('opacity', 0).fadeIn(2000);

or

$('#warning').fadeOut(2000).fadeIn(2000);

--
Brandon Aaron

On 7/3/07, Priest, James (NIH/NIEHS) [C] <[EMAIL PROTECTED]> wrote:



> -Original Message-
> From: John Resig [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 02, 2007 3:17 PM
>
> Brandon just committed a fix for this to SVN. If you could try it, and
> let us know if it works for you, that'd be good (if you can).
> http://code.google.com/p/jquery

Sorry for the delay - came in this morning - checked out /trunk and did
'ant build' and tried the jquery.js file.  I still get the same
behaviour.  FadeIn does nothing. FadeOut works as expected. :(

I also stripped everything out to a basic HTML file and still see the
same thing.

--


$(document).ready(
function(){
$("#warning").fadeIn(2000);
$("#warning2").fadeOut(2000);
});

FADE IN
FADE OUT
--


Jim



[jQuery] Re: fadeIn w/jQuery 1.1.3?

2007-07-03 Thread Mike Alsup


Brandon's fix corrected the problem for my test page:

http://malsup.com/jquery/test/test.html

Mike


On 7/3/07, Priest, James (NIH/NIEHS) [C] <[EMAIL PROTECTED]> wrote:


> -Original Message-
> From: John Resig [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 02, 2007 3:17 PM
>
> Brandon just committed a fix for this to SVN. If you could try it, and
> let us know if it works for you, that'd be good (if you can).
> http://code.google.com/p/jquery

Sorry for the delay - came in this morning - checked out /trunk and did
'ant build' and tried the jquery.js file.  I still get the same
behaviour.  FadeIn does nothing. FadeOut works as expected. :(

I also stripped everything out to a basic HTML file and still see the
same thing.

--


$(document).ready(
function(){
$("#warning").fadeIn(2000);
$("#warning2").fadeOut(2000);
});

FADE IN
FADE OUT
--


Jim



[jQuery] Re: fadeIn w/jQuery 1.1.3?

2007-07-03 Thread Priest, James (NIH/NIEHS) [C]

> -Original Message-
> From: John Resig [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 02, 2007 3:17 PM
> 
> Brandon just committed a fix for this to SVN. If you could try it, and
> let us know if it works for you, that'd be good (if you can).
> http://code.google.com/p/jquery

Sorry for the delay - came in this morning - checked out /trunk and did
'ant build' and tried the jquery.js file.  I still get the same
behaviour.  FadeIn does nothing. FadeOut works as expected. :(

I also stripped everything out to a basic HTML file and still see the
same thing.

--


$(document).ready(
function(){
$("#warning").fadeIn(2000);
$("#warning2").fadeOut(2000);
});

FADE IN
FADE OUT
--


Jim


[jQuery] Re: fadeIn w/jQuery 1.1.3?

2007-07-02 Thread Brandon Aaron

That should be:
http://code.google.com/p/jqueryjs/

On 7/2/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote:


On 7/2/07, John Resig <[EMAIL PROTECTED]> wrote:
>
> http://code.google.com/p/jquery


 Returns "404 Not Found"

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com


[jQuery] Re: fadeIn w/jQuery 1.1.3?

2007-07-02 Thread Aaron Heimlich

On 7/2/07, John Resig <[EMAIL PROTECTED]> wrote:


http://code.google.com/p/jquery



Returns "404 Not Found"

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com


[jQuery] Re: fadeIn w/jQuery 1.1.3?

2007-07-02 Thread John Resig


Brandon just committed a fix for this to SVN. If you could try it, and
let us know if it works for you, that'd be good (if you can).
http://code.google.com/p/jquery

--John

On 7/2/07, Priest, James (NIH/NIEHS) [C] <[EMAIL PROTECTED]> wrote:


I updated my main jquery.js file today updating my site to 1.1.3 (from
1.1.2) and everything works except fadeIn?

I played around with it and fadeOut seems to work if I make the duration
really long:

$("#warning").fadeOut(1);

But doing the opposite for fadeIn:

$("#warning").fadeIn(1);

Doesn't do anything - the element always remains visible.

I also tried:

$("#warning").fadeIn("slow");

But that didn't work either.

Everything else works great! (tabs, tables, etc)

Jim