How do I add javascript to an x-cart shopping cart?

We are adding a javascript for a rotating image banner on the homepage of an x-cart shopping cart.  When the javascript is active it disables the shopping cart's script that calculates measurements/pricing for products.  Is there a way to add the javascript for the banner without interfering with any internal javascript running the x-cart functions?  Thanks.
Who is Participating?
You could put your rotatingbanner.php or whatever in a iframe

<iframe src="urltobanner.php" width="500" height="100" frameborder="0"></iframe>

Open in new window

netthingAuthor Commented:
Partial answer to issue we are having.
Shafiq KhanCommented:
Because X-Cart uses the Smarty template engine, ensure you wrap any javascript around {literal}{/literal} tags.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.