via PayPal / credit card
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
There is no problem with FF and Chrome, but the slideshows don't work on my home page and my portfolio page with IE8, except when enabling the compatibility view. Please take a look at
http://www.malmoth-photo.fr and http://malmoth-photo.fr/index.php?option=com_content&view=article&id=30&Itemid=116
Here is my code :
<head>
...
<script type="text/javascript">
swfobject.embedSWF("images/monoslideshow.swf", "cadre-photo-accueilv2.1", "900", "500", "9.0.0","swfobject/expressInstall.swf",{dataFile:"images/accueilv2.1.xml",showLogo:"false"})
swfobject.embedSWF("images/monoslideshow.swf", "cadre-photo-portfolio", "900", "500", "9.0.0","swfobject/expressInstall.swf",{dataFile:"images/portfolio.xml",showLogo:"false"})
</script>
</head>
...
<body>
...
<div id="cadre-photo-accueilv2.1" style="margin: -4px;">
<p style="text-align: center;"><strong>Installez Flash Player et activez Javascript sur votre navigateur.<br />Eventuellement, avec Internet Explorer 8, modifiez les réglages du mode de comptatibilité.</strong></p>
<img src="/images/Photos_site/accueil_v21/8007913-20100206-2843.jpg" alt="Diaporama d'accueil - Photos de mariage" title="Malmoth Photo - Diapoarama d'accueil" border="0" /></div>
</div>
...
</body>
Can someone help me with this, please ?
Why do you call swfobject twice, although I see just one slideshow on any given page?
My guess would be that this irritates IE8.
Also, doublecheck you have absolutely no nesting errors (a div not closed or something like that), as IE8 is a little touchy there.
Christoph
I'm using Joomla 1.5.15. The head section is in the same file for all the pages of the website. That's why I call swfobject twice. I know that's not a good solution since I call swfobject twice even for pages that are not using MSS, but no other choice came to me. By the way, am I compeled to call swfobject in the head section ?
Anyway, I've tried to suppress one swfobject call, but that hasn't change a thing.
I'm using Dreamweaver to edit my index.php template, so I'm pretty sure there is no nesting error (DW detects such errors, right ?). As for the joomla articles, there're pretty simple, and I see no errors.
Thanks for your help anyway.
on this line, try removing the /
<script type="text/javascript" src="/swfobject/swfobject.js"></script>
like so.
<script type="text/javascript" src="swfobject/swfobject.js"></script>
I added that slash and my monoslideshow quit in ie8
Indeed. There is no / in my index.php template. The / seems to be added by the joomla engine. But it still doesn't work with a static page.
http://www.malmoth-photo.fr/test.html
Thanks for your help.
When opening the page in IE8, it shows an error sign in the lower left corner.
My error message is in German and won't help you, but translated it says "Invalid argument , swfobject.js line 4, 0".
I have no clue what that means, either IE8 doesn't like the version of swfobject.js you are using (not very likely), or you are indeed giving swfobject.js an argument which IE8 somehow thinks is wrong.
I would start by using another version of swfobject.js, just to make sure.
Also, as IE8 complains about a "0", why don't you change the "9.0.0" in your call with just "9" as in the example in the manual? Also worth a try.
Christoph
I just can't belive it.
The problem was with the second argument of the first embedSWF call.
I've tried
"cadre-photo-accueil"
instead of
"cadre-photo-accueilv2.1"
and it worked.
Thanks Christoph, your last post was of great help.
1 to 7 of 7