ecomatt
04-08-2013, 10:59 AM
1) Script Title: Drop down/ Overlapping Content script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/overlapcontent.htm
3) Describe problem:
I am using the script on a page multiple times. the page is located here http://www.roberthirschfield.com/newsite/ hover over the logo and the first instance drops down the navigation.
My questions are:
For the dropdown menu instance i want the function in the .js to be set to
hidedivmouseout: [true, 500],
but for the other menu li triggers drop down instances i want to use the other function
hidedivmouseout: [false],
so that once they are open they do not auto hide and need to be closed ether by clicking the close button
<a href="javascript:dropdowncontent.hidediv('subcontent')">close</a>
or it should close when you click the menu item trigger again.
Also is it possible that when you click a new trigger it would also close the existing one before the new one opens above it? Otherwise it looks messy.
Finally is there a way to locate the subcontent div so that its not relative to the trigger location?
Currently my triggers are a menu list so when you activate them they all drop down relative to the trigger location.
Thanks in advance for any help with this.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/overlapcontent.htm
3) Describe problem:
I am using the script on a page multiple times. the page is located here http://www.roberthirschfield.com/newsite/ hover over the logo and the first instance drops down the navigation.
My questions are:
For the dropdown menu instance i want the function in the .js to be set to
hidedivmouseout: [true, 500],
but for the other menu li triggers drop down instances i want to use the other function
hidedivmouseout: [false],
so that once they are open they do not auto hide and need to be closed ether by clicking the close button
<a href="javascript:dropdowncontent.hidediv('subcontent')">close</a>
or it should close when you click the menu item trigger again.
Also is it possible that when you click a new trigger it would also close the existing one before the new one opens above it? Otherwise it looks messy.
Finally is there a way to locate the subcontent div so that its not relative to the trigger location?
Currently my triggers are a menu list so when you activate them they all drop down relative to the trigger location.
Thanks in advance for any help with this.