PDA

View Full Version : PB Accordion script with IE7



mtgt
05-03-2008, 10:11 AM
1) Script Title: Accordion Content script (v1.3)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm

3) Describe problem:

I installed the script in test page, it work well with FF2 but doesn't work with IE6 or IE7,
here is a link with my test page (http://www.voyage-australie-nz.com/index.php?page=test)

Any help will be very appreciate,

Thanks in advance,
Greg

efflux
05-03-2008, 11:24 AM
I looked at your page, and it seems that the follow piece of code is causing your IE bug. (lines 416 to 430)

<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("menu_v.swf", "menu", "100%", "100%", "8", "#000000");
so.addParam("quality", "high");
so.addParam("wmode", "transparent");
so.addParam("menu", "false");
so.addParam("scale", "noscale");
so.addParam("scalemode", "noborder");
so.addParam("align", "C");
so.addParam("salign", "T");
so.setAttribute('xiRedirectUrl', 'http://www.voyage-australie-nz.com');
so.write("flashcontent");
// ]]>
</script>

Move this block of code to the head and you should be all set. I don't know the exact reason for the bug, so maybe some more experienced programmers can shed some light.

Hope this helps.

mtgt
05-04-2008, 01:12 AM
Thanks Efflux to have find the problem!

I'll try to remove this code and the Accordion start to work. But I have to found another system to embed my flash Animation, because the code which cause the problem is my menu!!

If any one have a solution!!!