p.s. www.visualjquery.com is REALLY useful.
Thanks for your work!
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yehuda Katz
Sent: Monday, October 30, 2006 5:18 PM
To: jQuery Discussion.
Subject: Re: [jQuery] fadeIn() causes change in page layout
-- Yehuda
On 10/30/06, Chris W.
Parker <
[EMAIL PROTECTED]> wrote:
This works except that it has the unfortunate effect of moving things after they've faded. Which makes complete sense but is almost useless since the elements visual render one way and then the other.Is this something that can be "fixed" in jQuery or does my design just need to take this into account?Thanks!Chris.
Some jQuery animations convert stuff to block-level. If you want to avoid that effect, you can apply a callback that converts back to inline.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Yehuda Katz
Sent: Monday, October 30, 2006 4:36 PM
To: jQuery Discussion.
Subject: Re: [jQuery] fadeIn() causes change in page layout
$(expr).fadeIn(500, function() { $(this).css("display", "inline") })
-- Yehuda
On 10/30/06, Chris W. Parker <[EMAIL PROTECTED]> wrote:Hello,I'm just beginning to play with jQuery and as well I'm a novice with js.I'm just doing some VERY simple tests right now and I ran into some unexpected behavior.The following HTML will render on the same line in your browser:<a class="one" href="">...</a><a class="two" href="">...</a>But when I apply fadeIn() to either of those elements they (appear to) turn into block elements thus rendering them on separate lines.Is this to be expected?Thanks,Chris.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
--
Yehuda Katz
Web Developer | Wycats Designs
(ph) 718.877.1325
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
--
Yehuda Katz
Web Developer | Wycats Designs
(ph) 718.877.1325
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
