onLoad works on Chrome but not IE or Firefox
I'm using a Spry Accordion and have it working as intended in Chrome however both Firefox and more importantly IE only partially work. Rather than move to JQuery straight off, I'd like to see if I can fix this with the help of any experts here. Thanks in advance.
If you view this page in Chrome:
You'll notice that the accordion on the right side goes 4, 3, 2, 1 with the last panel (1) open.
When viewed in IE and FF the accordion goes 4, 3, 2, 1 however the first panel (4) is open.
I used this code to make it work in Chrome:
<body onLoad="MM_callJS('Accordion1.openLastPanel(); return false;')">
I can provide the page code and all helper files as needed. I am hoping someone will know of a IE/FF work around to save me from recreating this accordion. NOTE: This accordion has a repeat section inside a repeated section and was difficult to create so that's why I'd like to see if I can fix this Chrome vs IE/FF issue if I can.
Thanks in advance!