Hi,

> function initDashboard(){
>       $(document).ready(function(){
>               if($(".adminMsgSummary").length > 0){
>                       var theCount = $(".adminMsgSummary dl").length-1;
>                       for(z=1;z<=theCount;z++){
>                               var theDl = $(".adminMsgSummary dl");
>                               theDl[z].hide("fast");
>                       }
>               }
>       });
> }
>
>
> Any ideas??????

1. You should not need $(document).ready in a function.
2. Use What jQuery can do for you ;-) selectors are really powerful

function initDashboard() {
        $('.adminMsgSummary dl:not(:first)').hide(fast);
}

Christof

Reply via email to