Loading...
 
Skip to main content

Features / Usability


Javascript Module

I have installed the JS module, but it doesn't seem to be working for me.

I have entered the syntax {JS(file=file.js)}javascript code{JS} and substituted my own code where "javascript code" is written in the syntax.

I am trying to use javascript that is generated by Amazon.com Associates. I would post the script here, but I can't seem to keep the forum from making the script disappear (~np~ doesn't seem to work for that).

Any suggestions?

-David

The Amazon code is two separate JS scripts, right? You need to use two separate JS modules. Something like this should work:

Copy to clipboard
{JS()} <!-- amazon_ad_tag = "YOURTAG"; amazon_ad_width = "300"; amazon_ad_height = "250"; amazon_ad_logo = "hide"; amazon_ad_border = "hide";//-->{JS} {JS(file="http://www.assoc-amazon.com/s/ads.js")}{JS}


HTH,

-Rick

> The Amazon code is two separate JS scripts, right? You need to use two separate JS modules. Something like this should work:

Copy to clipboard
{JS()} {JS} {JS(file="http://cls.assoc-amazon.com/s/cls.js")}{JS}


Got it. It worked! Thanks!

-David