Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by PongSiew on Jul 06, 2007 05:13
open dhtmlx forum
How can I trigger an javascript event when I move the mouse over the child or sub child? Bcoz I want to display the long description at a textarea when user point to the over the menu child. Thanks!


Answer posted on Jul 06, 2007 11:05
The dhtmlxMenu doesn't provide public event for such purpose, but it has inner method which called onMouseOver and can be used for your purpose  

in dhtmlxProtobar.js you can locate next code

        dhtmlXButtonPrototypeObject.prototype._onmouseoverX=function(e){
            if (!e) e=event;
            custom_function(this.objectNode.text);
            if (this.timeoutop) clearTimeout(this.timeoutop);
            this.timeoutop=setTimeout( this.objectNode._delayedTimerCall(this.objectNode,"_onmouseoverY"),50);
        };

text marked bold - possible addition, the custom_function will be called on each mouseover event
Answer posted on Jul 06, 2007 12:13
Itwork~! Thank you!
Answer posted by sematik (Support) on Nov 30, 2014 16:41

Having solved the problem mentioned above, you may also look through the possible related problems with asp.net calendar and demo application.