hellofromlondon
03-17-2011, 02:59 AM
1) Script Title: accordion content script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm
3) Describe problem:
I have create a link at the top of my page, to open one of the layers in my accordian script which site much lower down on the page... and it works great...
But, is there anyway I can have that layer expand, but then for the page to autoscroll down to that bit…. A bit like having a <a name tag> down there, and we link to go to it…
I have basic html knowledge and can’t seem to get it to work.
Any tips would be greatly appreciated…
This is my code on the link at the moment….
<a href="#" onClick="ddaccordion.expandone('technology', 0); return false;"> DOWNLOAD / VIEW GALLERY ▼ ▼ ▼ </a>
Thanks,
jx
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm
3) Describe problem:
I have create a link at the top of my page, to open one of the layers in my accordian script which site much lower down on the page... and it works great...
But, is there anyway I can have that layer expand, but then for the page to autoscroll down to that bit…. A bit like having a <a name tag> down there, and we link to go to it…
I have basic html knowledge and can’t seem to get it to work.
Any tips would be greatly appreciated…
This is my code on the link at the moment….
<a href="#" onClick="ddaccordion.expandone('technology', 0); return false;"> DOWNLOAD / VIEW GALLERY ▼ ▼ ▼ </a>
Thanks,
jx