dan_gva
10-17-2007, 04:08 PM
1) Script Title: Animated Collapsible DIV's
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem: Is there a way to position the expanded div on top of the page ?
If a collapsible DIV which stands at the bottom of a long page is called from an external link, it might expand unseen.
To see an example: take a look at this site (http://www.h2osa.com), and choose the last subitem in the "Formations" nav item.
Is there a way to "scroll" the page in order that if a collapsible div is expanded, it is also positioned at the top of the page (I mean: in the visible area) ?
I've tried with html anchors, but since the script calculates the page height on the fly, it doesn't work. My external links looked like this:
<a href="mypage.shtml#myanchor?expand=3">
Any help appreciated.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem: Is there a way to position the expanded div on top of the page ?
If a collapsible DIV which stands at the bottom of a long page is called from an external link, it might expand unseen.
To see an example: take a look at this site (http://www.h2osa.com), and choose the last subitem in the "Formations" nav item.
Is there a way to "scroll" the page in order that if a collapsible div is expanded, it is also positioned at the top of the page (I mean: in the visible area) ?
I've tried with html anchors, but since the script calculates the page height on the fly, it doesn't work. My external links looked like this:
<a href="mypage.shtml#myanchor?expand=3">
Any help appreciated.