Zen Follower
- Join Date:
- Nov 2008
- Location:
- Slovenija
- Posts:
- 119
- Plugin Contributions:
- 0
Problem with Flash Header
On the root.
I love internet and the power of information... Best Wishes!!
Zen Follower
On the root.
I love internet and the power of information... Best Wishes!!
Zen Follower
Ok, that is not were I though it was located. This is what I thought
Old Code
<script type="text/javascript" src="basicinstinctlingerie/swfobject.js"></script>
```New Code (if file is in root)
```php
<script type="text/javascript" src="swfobject.js"></script>
```So the total code should look like:
```php
<!--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-->
```I am assuming that you have not moved your swf file.
Try the above and see if it can find the file.
Sawhorse
ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com
Zen Follower
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!!
Zen Follower
My intent was to change the code to match where your swfobject.js was locacted not to move swfobject.js
I do not know what else to suggest.
Sawhorse
ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com
Zen Follower
Thank's a lot for your support!
If I make it to work, I will post here.
Have a great time!
I love internet and the power of information... Best Wishes!!
Zen Follower
Thank you, any information you can provide to the forum will be appreciated.
Sawhorse
ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com
New Zenner
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?
New Zenner
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.
New Zenner
LordGemz:
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
Zen Follower
Hi Guys,
I would like to add a flash banner to my site on zen cart 138a. The domain is https://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
Zen Follower
Look at post 121 in this thread it might help.
ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com
Zen Follower
Hi Sawhorse
Thanks for your fast reply, I had seen that but I did not understand any of it...or if it was what I needed where I should have put it and what to change to point it to my file. I thought that was for JS or something.
I have also come across the following
<object type="application/x-shockwave-flash" data="includes/templates/theme163/images/lingerie4u.swf" width="100%" height="100"> <param name="movie" value="includes/templates/ theme163/images/lingerie4u.swf" /><param name="quality" value="high"><param name="BGCOLOR" value="#000000"><param name="menu" value="false"> </object>this worked for me in includes/templates/theme163/common/tpl_header.php however this is not where I wanted it. I actually want it in place of the lady with the bra https://www.sexylingerie4u.com.au.
I don't know if its the right code.
Cheers
Renz
Zen Follower
Look in bannerTwo for location
ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com
Zen Follower
Sawhorse:
Look in bannerTwo for location
Hi Friend, I have no idea what you are instructing me to do...
Regards
Renz
Zen Follower
What I am saying the your image ```
<img height="310" width="585" title=" Lingerie 4u " alt="Lingerie 4u" src="images/header_banner.jpg">
You can search for either and you can see were they are located and I believe you noted that the current location that you were able to place the swf > is not where I wanted it. I actually want it in place of the lady with the bra so the search should be able to locate the file.
I need to leave now, but others may be able to help further. I am not a programmer.
Sawhorse
ZC 1.3.8a; Addons: Admin Profiles, Ty Package Tracker; Swap Images via MouseOver or Click, Smart Backgrounds; Printable Price List; CSS buttons; Contact Us - Add Subject; Template: Self Constructed; Site: http://sawhorsejewelry.com
Tell staff why this post should be reviewed.