Hello! I have been trying to get the Banner Rotator to work on my site.
For reference, the files are located here:
http://r.b5z.net/i/u/10059548/i/banner/banner.swf
http://r.b5z.net/i/u/10059548/i/banner/settings.xml
http://r.b5z.net/i/u/10059548/i/banner/images.xml
http://r.b5z.net/i/u/10059548/i/banner/header_template_01.html
http://r.b5z.net/i/u/10059548/i/banner/style.css
As you can see on the header_template_01.html file, everything works fine. However, when I try to copy the code here and place it into our content management system for the header of the site, it does not work. For reference, the site is www.primusgolf.com.
I’ve tried adding:
flashvars.folderPath = “http://r.b5z.net/i/u/10059548/i/banner/”;
flashvars.settingsXML = “http://r.b5z.net/i/u/10059548/i/banner/settings.xml”;
to the code, but it still will not work. Looking at the html I’ve supplied, how exactly am I supposed to define an absolute value for the xml path?
The code I’m using is below:
<script type="text/javascript" src="http://r.b5z.net/i/u/10059548/i/banner/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.folderPath = "http://r.b5z.net/i/u/10059548/i/banner/";
flashvars.settingsXML = "http://r.b5z.net/i/u/10059548/i/banner/settings.xml";
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
var attributes = {};
swfobject.embedSWF("http://r.b5z.net/i/u/10059548/i/banner/banner.swf", "FlashCute", "400", "200", "9.0.0", false, flashvars, params, attributes);
</script>