Sorry, i haven't testet the first code. Here is the actual version:
>
> The code look like this:
> $(window).load(function() {
>     $(".doStuff").each(function(){
>
>         var cl = $(this).attr('class');
>         if(cl.indexOf('paramMode1')!=-1) {
>
>         }else if(cl.indexOf('paramMode2')!=-1) {
>
>         }else { // default mode
>
>         }
>     });
> });

best regards,
Truppe Steven

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to