1) Script Title:
Accordion Content script (v1.9)
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...daccordion.htm
3) Describe problem:
Im using the Accordion Content script (v1.9)
Some Accordions exceed the browers window height so that the jump to an implemented anchor (the accordions header) would be handy, as the user would not recognize the opening of that certain accordion.
i know that it is possible to jump to an anchor with
window.location.hash="anchorname";
but i am not able to implement it into DD's Accordion Content Script.
as i need to use the scripts OnClick function it is not possible to implement an anchor viahref="#anchorname".
i would like to add a function to the onclick event, is that possible ?
onClick="ddaccordion.toggleone('headercl',1); return false"
how could i achieve it to jump to a certain anchor(as each of the accordions headers are my anchors) with the help of this js function
window.location.hash="anchorname";
pls excuse my bad grammar / language
thx in advance![]()



Reply With Quote

Bookmarks