I am looking for an easy to understand way to execute javascript stored inline in an atom.
For example: Using the Salient Template as a test.
1. On my Home page Template under Page Settings, I enabled atoms and dragged the Custom CSS /JSS element down.
2. Clicked on Settings for Custom CSS / JS and added my javascript code. Also making sure to strip out the <Script> </script> code. So my Javascript code looks like this:
type='text/javascript' src='https://feed.site.com/FeedStore/GetFeed.ashx?FeedId=[REMOVED]&locale=en-us&partnerid=999999&CompanyName=Company%20Name&width=600px&height=250px'
I am planning on using a banner showcase to rotate pictures and when someone clicks on the banner, I want to execute the javascript code. Currently, I'm using Roksprocket for the banner display and would also like to find out how to execute the assigned javascript code from inside the module. After all is said an done, I could have up to 10 pictures with associated JS scripts that need to be called.
Sounds like an opportunity for a basic step by step, easy to understand and clearly exaplained tuturial.
Hoping to use the answer to this question to duplicate the same functionality for a chat button on another page.
Thanks in advance for your help.
David