[EMAIL PROTECTED] schreef:
>
> I personally use a modular approach, since different pages may utilize only a 
> portion of the available functions. My attitude is, why load what isn't used? 
> Of course, YMMV (your mileage may vary).
>   

The approach I take for loading functions is taking a page element id 
that is unique for the website and check if it's there with the size 
function

if($('#someid').size()  >= 1){
       //functions for that page
}

i don't know if it's the best way but it worked for me so far.

-- 
David Duymelinck
________________
[EMAIL PROTECTED]


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to