-
1. Re: Spry accordion page scrolling
Arnout Kazemier Oct 13, 2009 11:54 PM (in response to Phil_W)In what browsers does this occure? Firefox works fine.
-
2. Re: Spry accordion page scrolling
Phil_W Oct 14, 2009 11:30 AM (in response to Arnout Kazemier)Hi,
You are quite right Firefox doesn't scroll the page.
It is scrolling the page in IE8. Click on 'Show' events from past 12 months first , before clicking on the accordion tabs.
Cheers
Phil
-
3. Re: Spry accordion page scrolling
juresti Oct 29, 2009 12:41 PM (in response to Phil_W)I'm haveing the same issue in IE7. Why? Anyone know?
-
4. Re: Spry accordion page scrolling
juresti Oct 29, 2009 1:50 PM (in response to juresti)this.enableKeyboardNavigation = false;
I found the answer above.
But now how do I get the content to open at different heights?
-
5. Re: Spry accordion page scrolling
Phil_W Oct 29, 2009 4:16 PM (in response to juresti)You want { useFixedPanelHeights: false } as an option when you create ther accordion to allow variable height panels.
re your answer above - I checked that out and you can disable keyboard navigation via removing tab index="0" from the accordion HTML markup. Not recommended if you wish to make it accessible via keyboard but thanks for answer.
-
6. Re: Spry accordion page scrolling
juresti Oct 29, 2009 4:50 PM (in response to Phil_W)Thanks Phil I tried changing the FixedPanelHeghts in the .js file. When I did the Accordian no longer worked.
I look into it again tomorrow.
-
7. Re: Spry accordion page scrolling
Phil_W Oct 30, 2009 5:47 AM (in response to juresti)Hi,
Post the javascript markup you use to generate your accordion. At work at present but I'll try and post my example over the weekend or you can download Spry 1.6.1 framework from from labs as it has a site index and API guide for the Spry widgets, utilities and data stuff, plus examples etc.
Cheers
Phil
-
8. Re: Spry accordion page scrolling
Arnout Kazemier Oct 30, 2009 5:56 AM (in response to juresti)instead of editing your Spry files it might be wiser to use the
options constructor for it. This option object will automatically
replace all "this" variables inside the Spry Widget without having to
edit the files.
So your constructor should become something similar like this:
var acc1 = new Spry.Widget.Accordion("Acc1", {useFixedPanelHeights: true, enableKeyboardNavigation: false })
-
9. Re: Spry accordion page scrolling
juresti Oct 30, 2009 6:12 AM (in response to Arnout Kazemier)I may use as I have it currently. It's on an internal site.
I may have messed up my files. Next time I'll do as Phil suggests.
Thanks for the tips!
-
10. Re: Spry accordion page scrolling
Phil_W Oct 30, 2009 6:18 AM (in response to juresti)Hi,
Delete the messed up SpryAccordion.js file out of your site's local Spry Assets folder - then dreamweaver should pull in a fresh master when you need preview in browser or send a page to your test / production servers.
Cheers
Phil
-
11. Re: Spry accordion page scrolling
juresti Oct 30, 2009 7:05 AM (in response to Phil_W)sweet thanks!


