IE6 carshes with slideshow
Posted: 13 Sep 2007, 11:57
I'm using Joomla to display a slideshow on the side of one of the modules, using the following code:
This works fine in Safari, FF and IE7. However, in IE6, it causes the browser to crash and does not allow the page to load. Can you think of any reason why would this happen or what can I do to prevent this?
Thanks.
Code
<script type="text/javascript" src="../gallery/swfobject_source.js"></script>
<div id="screenshots">ABC Gallery Screenshots</div>
<script type="text/javascript">
var so = new SWFObject("../gallery/slideshow.swf", "mymenu", "185", "200", "9");
so.addVariable('globalpath','../gallery/');
so.addVariable('path','content/People/Smiles/');
so.addVariable('configfile','randomsmiles.ini');
so.addVariable('autoscale','true');
so.addVariable('minmargin','0');
so.addVariable('interval','9');
so.addVariable('startimage','false');
so.addVariable('backimage','false');
so.addVariable('framecol','FFFFFF');
so.addVariable('transition', 'motionmove,motionmask,blockmask,tint,white,fade; motionmove,motionmask,blockmask,tint,white,fade,shine,instant');
so.addVariable('sfx', 'false');
so.addVariable('audio', 'false');
so.addVariable('imagepopinfo', 'false');
so.addVariable('showpreloader', 'false');
so.addVariable('showaltpreloader', 'false');
so.addVariable('showtimer', 'false');
so.addVariable('imagesorting', 'rnd');
so.addVariable('boxstage','180,200');
so.addVariable('maincontrols', 'previous,toggleplay,next');
so.addVariable('altcontrols', 'false');
so.addVariable('displayimageindex', 'false');
so.addVariable('displayname', 'false');
so.addVariable('displaydescription', 'false');
so.addVariable('frameshadow', 'true');
so.addVariable('showmaincontrols', 'true');
so.addVariable('framewidth','3');
so.addVariable('innerframewidth','9');
so.addVariable('maincontrolsmargin','5');
so.write("screenshots");
</script>
This works fine in Safari, FF and IE7. However, in IE6, it causes the browser to crash and does not allow the page to load. Can you think of any reason why would this happen or what can I do to prevent this?
Thanks.