How to add a rotating partial in CustomerHub
***Update- I’ve edited my post to be more in line with Infusionsoft security standards.***
Want to show a rotating partial in CustomerHub?
Start with a .htm file that rotates between your images. Each image can link to a different place, so you could have images of 4 products, rotating between products, each one linking to a one click upsell.
Here are some notes on creating that rotator:
http://www.htmlgoodies.com/beyond/javascript/article.php/3881826/JavaScript-Tutorial-Adding-Rotating-Images-to-Your-Web-Site.htm
Make sure the images and the .htm are all hosted on a secure server.
Then put the .htm in to an iframe inside your partial, and you are good to go.
Example code:
<p><iframe src=”https://yoursite.com/yourfile.htm” width=”320″ height=”240″ frameBorder=”0″ scrolling=”no” style=”margin-left: -10px” seamless=”seamless” border=” 0px none transparent”></iframe></p>