Luch / EasyAccordion

Enhanced Easy Accordion
11 stars 8 forks source link

responsive width #1

Closed linojon closed 11 years ago

linojon commented 11 years ago

hi. I'm enjoying your plugin!! Trying to use it on a page that responds to changes in browser width rather than set a fixed width of the dl. You can see the effect on your own demo page by making the browser narrower. Suggestions how to do this?

a corollary is the height should also adapt to the content (especially text content). its ok if the dt stays a fixed height (actually thats preferable) but the dd (and dl) should adjust so the content is not clipped.

Luch commented 11 years ago

Hello Jonathan,

Glad you'r enjoying the plugin. To provide you with a quick answer I send you my latest (test)version. In the enclosed zip file you find my complete test-environment. This version is capable of adjusting the width in case of changes in page width (see accordion-1). Please give it a try. The variable height has my attention. Maybe in next version.

Please tell me on what site you are using this plugin. And if it is allowed to use it as a reference.

Any questions? Don't hesitate to send me a mail.

Regards, Luch

2013/1/2 Jonathan Linowes notifications@github.com

hi. I'm enjoying your plugin!! Trying to use it on a page that responds to changes in browser width rather than set a fixed width of the dl. You can see the effect on your own demo page by making the browser narrower. Suggestions how to do this?

— Reply to this email directly or view it on GitHubhttps://github.com/Luch/EasyAccordion/issues/1.

linojon commented 11 years ago

hi Thanks! Where do i find the file? looking for a branch here, or a new file in scripts/

Luch commented 11 years ago

Jonathan,

The code is now on github as version 0.1.8. Let me know what you think about it.

Regards. Luch