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?? 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 attention to my post. I asked this because my brain
> was too asleep to find the answer by itself.
>
> In fact what I wanted was this :
>
> $.get("URL", function(html) {
>        html = $(html).hide();
>        $("#foobar").append(html);
>        $(html).fadeIn("fast");
> });
>
> Maybe you know a better way (less lines) to do this ?
>
> --
> Fabien Meghazi
>
> Website: http://www.amigrave.com
> Email: [EMAIL PROTECTED]
> IM: [EMAIL PROTECTED]
>



-- 
Alexandre Plennevaux
LAb[au]

http://www.lab-au.com

Reply via email to