mickliddy
01-26-2008, 12:12 PM
1) Script Title:
Accordian Content Script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm
3) Describe problem:
Im only just begining to learn javascript, and DHTML and Id like to make an onMouseOut event for the Accordian Content Script - so that instead of it only collapsing when clicked again, it will collapse when the users cursor leaves the DIV/Title for longer than X secounds. Can somebody help me with this? And would it be possible to detect that the mouse is no longer on the element while the mouse is on a different frame?
Another question I have(this attaches to the last) is if its possible to force the user to either click the title of that DIV, or click a different DIV - as it is originaly - or click another link in the same frame; but only if the user has checked a box inside the DIV(which auto un-checks when the DIV collapses again).
Thanks in advanced :)
Accordian Content Script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm
3) Describe problem:
Im only just begining to learn javascript, and DHTML and Id like to make an onMouseOut event for the Accordian Content Script - so that instead of it only collapsing when clicked again, it will collapse when the users cursor leaves the DIV/Title for longer than X secounds. Can somebody help me with this? And would it be possible to detect that the mouse is no longer on the element while the mouse is on a different frame?
Another question I have(this attaches to the last) is if its possible to force the user to either click the title of that DIV, or click a different DIV - as it is originaly - or click another link in the same frame; but only if the user has checked a box inside the DIV(which auto un-checks when the DIV collapses again).
Thanks in advanced :)