Thanks for your response Anthony and Niphlod.
For the record I went with dynamically loading css and javascript as
follows:
/* Load required css dynamically */
function loadcss(path) {
if (document.createStyleSheet) { /* check if need to use an IE
compatible method */
document.createStyleSheet(path) /* use IE method */
} else {
$("head").append($('<link rel="stylesheet" href="' + path + '"
type="text/css" />'))
}
}
and for javascript
$.getScript("{{=URL('static','plugin_spectrum/spectrum/spectrum.js')}}",
function() {
/* Some code here to run after script loaded */
})
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.