Amans
07-14-2011, 09:18 AM
Hello,
I am using a mootool accordion with a lot of content in each panels.
All are working fine on the execution. Below is my script for the same.
window.addEvent('domready', function() {
var myAcc = new Accordion($$('h3.toggler'), $$('div.function'), {show: 0, opacity: false});
});
Here is the HTML for the accordions
<DIV id=widget>
<h3 class="top toggler"><span class=selected> Title</span></h3>
<div style="overflow: hidden;" class=function id=sideBar_downloadContainer>
<p><span class=fontBold><br />
Content</span></div></div>
Requirements:
1. I need to expand them from the sidebar links also.
2. Due to a lot of content in each panel, i want them to expand and go to the top of the panel expanded so that anyone can read the panel titile and the contents and should not scroll up to see them.
Awaiting Solutions
Regards
Aman S.
I am using a mootool accordion with a lot of content in each panels.
All are working fine on the execution. Below is my script for the same.
window.addEvent('domready', function() {
var myAcc = new Accordion($$('h3.toggler'), $$('div.function'), {show: 0, opacity: false});
});
Here is the HTML for the accordions
<DIV id=widget>
<h3 class="top toggler"><span class=selected> Title</span></h3>
<div style="overflow: hidden;" class=function id=sideBar_downloadContainer>
<p><span class=fontBold><br />
Content</span></div></div>
Requirements:
1. I need to expand them from the sidebar links also.
2. Due to a lot of content in each panel, i want them to expand and go to the top of the panel expanded so that anyone can read the panel titile and the contents and should not scroll up to see them.
Awaiting Solutions
Regards
Aman S.