Since I don’t understand the code, I could be wrong, but your link seems to show a way of loading a new url. I want to click on the front image of the BZ banner and have it act like a tab for the Carousel Action.
Here is the code that the BZ folks told me that I’d need to do:
you can tell BannerZest to call a javascript function instead of opening the url directly.
Set the target to “Custom Javascript” in the publish panel, publish, open bz.js and edit the navigate to url function.
Here is the file that I am supposed to change:
function bzGetFlashPlayerBZ4796AD1F54834EC38A8D() {
var div = document.getElementById(‘SWBZ4796AD1F54834EC38A8D’);
if (div) {
div.innerHTML = ‘
You have an old version of Flash Player. Get the latest Flash player.
’;
} else {
alert(“no SWBZ4796AD1F54834EC38A8D div”);
}
}
function bzEmbedSWFBZ4796AD1F54834EC38A8D() {
if (swfobject.hasFlashPlayerVersion(“9.0.45”)) {
var flashvars = {
swfId: “SWBZ4796AD1F54834EC38A8D”,
xmlPath: _urlBZ4796AD1F54834EC38A8D + “bz.xml”,
imgPath: _urlBZ4796AD1F54834EC38A8D + “img”,
urlType: “_top”,
showInfo: “1”,
themeMode: “2”
};
var params = {
wmode: “transparent”,
allowscriptaccess: “always”
};
var attributes = {};
swfobject.embedSWF(_urlBZ4796AD1F54834EC38A8D + “bzAnimation.swf”, “SWBZ4796AD1F54834EC38A8D”, “500”, “180”, “9.0.45”, false, flashvars, params, attributes);
} else {
swfobject.addDomLoadEvent(bzGetFlashPlayerBZ4796AD1F54834EC38A8D);
}
}
bzEmbedSWFBZ4796AD1F54834EC38A8D();
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options