[solved] How to deal with {} sign that are not meant to be CMSMS tags
Posted: Tue Dec 02, 2008 9:45 pm
Hello,
I'm having a problem installing JavaScipt to webpages using CMSMS. The script doesn't work and I think it is because CMSMS interprets {} signs in this code wrongly (its working fine outside CMSMS, although directory paths are bit different):
Shadowbox.loadSkin('classic', 'uploads/js/src/skin');
Shadowbox.loadLanguage('en', 'uploads/js/src/lang');
Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], 'uploads/js/src/player');
window.onload = function(){
Shadowbox.init();
};
How can I get this working? Are [] signs in the code ok?
Thanks already.
I'm having a problem installing JavaScipt to webpages using CMSMS. The script doesn't work and I think it is because CMSMS interprets {} signs in this code wrongly (its working fine outside CMSMS, although directory paths are bit different):
Shadowbox.loadSkin('classic', 'uploads/js/src/skin');
Shadowbox.loadLanguage('en', 'uploads/js/src/lang');
Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], 'uploads/js/src/player');
window.onload = function(){
Shadowbox.init();
};
How can I get this working? Are [] signs in the code ok?
Thanks already.