From the browser side, by and large the js "equal heights" works great. The exceptions are:
- Pages with dynamic content (such as a jquery accordion, using Views Accordion)
- Admin Page Edit pages (such as using the ckeditor in the body text field.)
In each case, the page has updates to column lengths after the initial page load. But without a javascript trigger, the column lengths do not adapt accordingly.
For example I have two columns that I need to have equal heights. The css is marked up appropriate, the page loads, the script finds the larger of the two, applies the same height value, and all is good. However, on this same page, if there's an accordion-style widget, where the contain div expands depending on the amount of content, the height will vary. My concern is when it grows and requires more space. It will drop below the height of the current page, obscuring content.
Thanks for an excellent theme!
What's the best way to resolve this issue?
Comments
Comment #1
Jeff Burnz commentedOnly way to resolve is:
1) Use a script that dynamically re sizes the elements (the script I use is very small and simple).
2) don't use it, use another method such as Faux Columns.
Not really a bug because this is not something I have tried to support.
Comment #2
Screenack commentedCan you please provide a reference as to what script in item # 1 is? Thanks.
Comment #3
Jeff Burnz commentedJust google it, something like http://www.google.se/search?q=equalheights%2Bjquery&ie=utf-8&oe=utf-8&aq...
Comment #4
Screenack commentedSigh. I had googled it; extensively. Given that the equal height script is already working, I'm not sure why I'd search using that same criteria.
However, your response in #1 prompted me to search using new criteria and I've got something working that's rather nice.
This jquery plugin: http://benalman.com/projects/jquery-resize-plugin/ let's you bind resize events to specific objects. In my case, that would be the node content.
Hope this helps someone else