I get the same thing you do.
Check your php code. The one you show is not the same as the one I gave you.
Sawhorse
I get the same thing you do.
Check your php code. The one you show is not the same as the one I gave you.
Sawhorse
Your code work's only in I.E. In F F i have alternative content.
I create the code with the swfobject generator. It' work's, but in F F i have the get the flash player.
So i don't know what to do anymore....
Thank you for your help!
I love internet and the power of information... Best Wishes!!
It is as if swfobject.js can't be found. Where is it currently located?
Sawhorse
On the root.
I love internet and the power of information... Best Wishes!!
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.
I love internet and the power of information... Best Wishes!!
[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]
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>