PDA

View Full Version : IE9 and accordion


JoeH
01-31-2014, 02:15 PM
Hi,

I hope someone can point me in the right direction please. The link below works fine in safari and firefox but fails to work in everybody's favourite IE9. The Spry accordion is the default version with Dreamweaver CS5.5.

Would greatly appreciate some pointers.

http://www.provision-cctv.com/newstest.html

Many thanks.

Joe.
--

gentleone
02-01-2014, 01:27 PM
I'd recommend to look for another JS library such as jQuery, because Adobe stopped 2 years ago already development/support with Spry. The last changelog is even from feb 2008.

jQuery accordion:
http://www.snyderplace.com/demos/accordion.html






.

JoeH
02-03-2014, 10:30 AM
Hi, Many thanks for your reply.

I've taken you advice and I'm using a third party accordion script which works well - and works in IE!

http://www.provision-cctv.com/newstest2

Not wishing to sound ungrateful - any idea as to how I can reduce the height of the section headers in sections 2, 3 4 etc? Iv'e added to the header code the line :-
heightStyle: "content"

More in hope than having an idea that it may work - but to no avail.

Again, many thanks.

Joe.
--

gentleone
02-03-2014, 05:01 PM
Using jQuery-ui for only an accordion is quite an overkill... did you see how large these files are?

I had a look, but couldn't see yet what's causing it... the only thing is I see now is that the first header panel is only a h2 and the rest has an anchor tag inside that h2.

Anyway... will have a better look when I have time.

JoeH
02-04-2014, 09:30 AM
Hi,

Many thanks for your time and your reply.

All the jQuery lark is a little new to me and therefore had know idea about the file size!

I've found a CSS script which I'm hoping will generate a smaller size file? Rather than waste any more of your time I'll try that and see how i get on.

Again, many thanks.

Joe.
--

gentleone
02-05-2014, 10:20 AM
Yeah just look for a jQuery accordion plugin.... you can do accordions with CSS if you want, but these techniques don't work in older browsers such as IE8 and below.

gopkrtindd
08-28-2014, 08:57 AM
It is always seen that there are some difference shown in browsers. you should check dreamweaver version.