Zen Cart Logo
Forums / Addon Sideboxes / Adding banner exchange code into blank side boxes

Adding banner exchange code into blank side boxes

Locked

Views: 3,488

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
17 Jul 2007, 11:31 PM
#1
kapearl avatar

kapearl

New Zenner

Join Date:
Mar 2007
Posts:
2
Plugin Contributions:
0

Adding banner exchange code into blank side boxes

I am attempting to add a javascript/iframe combo code for a banner exchange into my template using the blank side box module. When I add it, the page doesn't load from where the side box starts (so just the header, a little of the left side bar and then no main content or the rest of the left side bar).

This is the code I am attempting to add:

<!-- EasyBanner Pro code begin --> <center> <script language="JavaScript"> document.write('<s'+'cript language="JavaScript" src="<http://www.poshlittle.com/exchange/work.php?n=1&size=1&j=1&c=&code='+new> Date().getTime()+'"></s'+'cript>'); </script> <NOSCRIPT> <IFRAME SRC="<http://www.poshlittle.com/exchange/work.php?n=1&size=1&c>=" width=125 height=145 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no"></IFRAME> </NOSCRIPT> </center> <!-- EasyBanner Pro code end -->

With out altering the banner exchange code... what do I need to do to get the page to read this? I had the side box module working until this.

17 Jul 2007, 11:48 PM
#2
kapearl avatar

kapearl

New Zenner

Join Date:
Mar 2007
Posts:
2
Plugin Contributions:
0

Re: Adding banner exchange code into blank side boxes

So, I fixed this.. for anyone else a little confused with the javascript stuff!

I had seen this but at the time it was beyond me.. but after reading it a couple of times (and changing my screen size so that things weren't overlapping) I was able to figure out the instructions.

http://www.zen-cart.com/wiki/index.php/Customisation_-_Templates_-_Javascript