On the root.
Printable View
On the root.
Ok, that is not were I though it was located. This is what I thought
Old Code
New Code (if file is in root)PHP Code:
<script type="text/javascript" src="basicinstinctlingerie/swfobject.js"></script>
So the total code should look like:PHP Code:
<script type="text/javascript" src="swfobject.js"></script>
I am assuming that you have not moved your swf file.PHP Code:
<!--top of flash display-->
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
if (swfobject.hasFlashPlayerVersion("6.0.0")) {
var fn = function() {
var att = { data:"includes/templates/1228/buttons/slovensko/slogan.swf", width:"468", height:"60"};
var par = { flashvars:"foo=bar" };
var id = "replaceMe";
var myObject = swfobject.createSWF(att, par, id);
};
swfobject.addDomLoadEvent(fn);
}
</script>
<div id="replaceMe">Alternative content</div>
<!--bottom of flash display-->
Try the above and see if it can find the file.
Sawhorse
I moved it and also tryed one more time this code, but in firefox I had the alternative text.
[FONT=Arial]My intent was to change the code to match where your swfobject.js was locacted not to move [/FONT][FONT=Arial]swfobject.js
I do not know what else to suggest.
Sawhorse[/FONT]
Thank's a lot for your support!
If I make it to work, I will post here.
Have a great time!
Thank you, any information you can provide to the forum will be appreciated.
Sawhorse
Hi guys,
This is what I put in my site, I still have a problem is that, I am operating a multi language site, is there any method to make bannerschange according to different languages?
<script type="text/javascript">
var swf_width=595
var swf_height=220
var files='images/banners/banner01.jpg|images/banners/banner02.jpg|images/banners/banner03.jpg|images/banners/banner03.jpg'
var links=''
var texts=''
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="images/bcastr3.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'">');
document.write('<embed src="images/banners/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
</script>
If you really want to cheat use Photobucket I have for a few .swf and .flv files and it works great. Gives you 4 kinds of script to use.
Edit your stylesheet, and header info. Works both in IE and FF.
I just found out if you use photobucket or any or image db, you more and likely can't get your SSL to work.
This coincides with thread:
http://www.zen-cart.com/forum/showthread.php?t=137064
Hi Guys,
I would like to add a flash banner to my site on zen cart 138a. The domain is www.sexylingerie4u.com.au. I would like to know if possible which code to insert on which page to allow me to display flash file called lingerie4u.swf .
Where should I save this swf file.
Many Thanks
Renz