View Full Version : Resolved how to drop down on mouse over
davelf
05-21-2010, 04:16 AM
1) Script Title: how to drop down the dd drop down panel on mouse over
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dddropdownpanel.htm
3) Describe problem:
I want to drop down the DD drop down panel on mouseover not on click,
is that possibel?
which part i should customize?
thx in advanced...
djr33
05-21-2010, 04:42 AM
I just took a look to see if it was easy, and it's not, not at all. The "onclick" method isn't used, but instead a lot of complex Javascript to track the automatically generated elements. I'm not sure how to adapt this.
davelf
05-21-2010, 06:12 AM
thx for the reply djr33...
:)
davelf
05-24-2010, 02:21 AM
sorry to just want to answer my question, just find it:
i found this code and it work, thx to ddadmin:
ddpanel.addEvent(tdiv, function(e){ //assign click behavior when toggle DIV tab is clicked on
if (setting.animate.enabled)
thispanel.togglepanelplus()
else
thispanel.togglepanel()
if (e.preventDefault) e.preventDefault()
return false
}, "mouseover")
and it solve my problem, thx
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.