> not tested :
>
> $.get("URL", function(html) {
> $(html).hide().appendTo('#foobar').fadeIn("fast");
> });
Yeps working. Thanks !
--
Fabien Meghazi
Website: http://www.amigrave.com
Email: [EMAIL PROTECTED]
IM: [EMAIL PROTECTED]
not tested :
$.get("URL", function(html) {
$(html).hide().appendTo('#foobar').fadeIn("fast");
});
On Sun, Mar 9, 2008 at 1:51 PM, Fabien Meghazi <[EMAIL PROTECTED]> wrote:
>
> > .html() isn't suitable - ie what does it mean to 'slowly' change the
> > html content of an element?? Perhap
> .html() isn't suitable - ie what does it mean to 'slowly' change the
> html content of an element?? Perhaps a typing effect, or cloning a
> div, changing the content then fading the original - but these would
> be specialised effects that you should code yourself.
Please, don't pay attentio
Remove:
$('#someElement').hide('slow').remove();
Html:
.html() isn't suitable - ie what does it mean to 'slowly' change the
html content of an element?? Perhaps a typing effect, or cloning a
div, changing the content then fading the original - but these would
be specialised effects that you sho
> You can do a similar thing with "show" (or "fadeIn", etc).
>
> $('Text')
> .hide()
> .appendTo(somewhere)
> .fadeIn(1000);
Thanks guys! And sorry about asking questions when I know the answer.
It must be because I'm working 16h/day while sleeping 5h/day since 2
weeks. My brain is slow
Here's come code from the Examples section of the "hide()"
documentation (http://docs.jquery.com/Effects/hide#examples):
$("div").click(function () {
$(this).hide(2000, function () {
$(this).remove();
});
});
You can do the same thing with "fadeOut" or any of the other effects
(http://do
Well, just throwing this out
but to remove the html of a div and "animate" it, you could say like:
$(dv).fadeOut("slow").html("");
7 matches
Mail list logo