- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2016 12:03 AM
Hi,
I want to put some scripting (javascript) on the CMS portal and i understand there's noway i can include it in the CSS part. What are the options for me? i want to put a scripting to impact the body element of HTML?
Regards,
Andro
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2016 12:46 AM
Ui can put it in UI Macro. In your Layout what you have selected for you site

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2016 12:07 AM
What do you want to achieve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2016 12:14 AM
Hi Andro,
You can use <script> tag, and inside that you can write scripting. you can write script tag inside body tag or inside <head> tag.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2016 12:20 AM
And you can also put the script in a UI Script and then call for it like this:
<g:requires name="testing.jsdbx" />
where testing is the name of the UI script.
//Göran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2016 12:45 AM
Thanks for all the responses. I'am trying to put some javascript which would refresh the background of my page to new image every time it's refreshed.
My question is , where to put the <script> tag in CMS structure? Is it in the macro jelly script, CSS or somewhere else?
Regards,
Andro