K, I got it.

Changed paragraphs to divs tho.

$(document).ready(function(){
        $("li").hide()
        $("p.subtitle").hide()
        $("p.copy").hide()
        $("div[name!=home][class=body]").hide()

        var $i=500;
        $("li:eq(0)").show($i, function(event){
        // use callee so don't have to name the function
                $i = $i+150;
        $(this).next().show($i, arguments.callee, function(event){
        });
        $("p.subtitle").show(5250)
        $("p.copy").show(5250)
        });

       $("a.menuitem").click(function(event){
           $("a.menuitem").removeClass("selected");
                $(this).addClass("selected");

                $("div[name!="+this.id+"][class=body]").hide(500)
                $('div[name='+this.id+']').show(500)

         event.preventDefault();
       });


});

Reply via email to