loading a javascript
Posted: Sat Jun 30, 2007 2:08 am
I was playing around with NiftyCube in CMSms and while I can manually add the link to the javascript file in the template header, is there anyway to link it to the template like you do with CSS files.
I wonder if this is a feature that can be added if not already a part of the system? I love how I can create a template and then just link it to the style sheets using {stylesheet}, as many as you need actually. It would be neat if you could do this with other files like javascript using {javascript} or something like that. Im not much on using javascript, but in the case of NiftyCube, if a visitor has javascript disabled it doesnt wreck the site and it doesnt destroy validation.
Anyway, if anyone has any ideas I would appreciate hearing them
I wonder if this is a feature that can be added if not already a part of the system? I love how I can create a template and then just link it to the style sheets using {stylesheet}, as many as you need actually. It would be neat if you could do this with other files like javascript using {javascript} or something like that. Im not much on using javascript, but in the case of NiftyCube, if a visitor has javascript disabled it doesnt wreck the site and it doesnt destroy validation.
Anyway, if anyone has any ideas I would appreciate hearing them