Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Possible method to inject JS/CSS at runtime?
Migrateduser
Hi,
I'm trying to figure out if there's a livesite API method that can add CSS/JS includes to the page header at runtime.
I'd like my components to be "self contained" to reduce dependency problems.
For example, to embed analytics on the page, I was going to create a component similar to the webtrends component, but have it add "webtrends.js" as a javascript include in the header only on the pages where the component is used (rather than sitewide).
I'm sure this can be done with custom java, but I was hoping to avoid our development queue if possible.
I've looked through the API documentation and nothing is jumping out.
This seems like a pretty basic function to me. Am I missing something?
Find more posts tagged with
Comments
There are no comments yet