I have a html like this 

   <div id="list">
    <ul>
        <li><a href="data/cat1.htm">cat1</a></li>
        ....
        ...
    </ul>


The html

 $('#list a').each(function(i){
    $(this).click(function(event){
        $("#list").fadeOut("slow").load(this.href);
        $("#list").fadeIn("slow");return false;
})

When i click in 1 option the "list" hide (fadeOut); load the page; appear again 
the list; and then the page appear. If i dont put the "return false" i got the 
empty page not like a "content"

How i can fix it?

Thx
Sebastián

--------------------------------------------------------------------------------
Estoy utilizando la versión gratuita de SPAMfighter para usuarios privados.
Ha eliminado 6225 correos spam hasta la fecha.
Los abonados no tienen este mensaje en sus correos.
¡Pruebe SPAMfighter gratis ya!
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to