Hi, Apologies for being such a nuisance - I guess this is the last.
The below function works great, but it only works on the text box of the drop down:
var z<xsl:value-of select=’$Name’ />=dhtmlXComboFromSelect("<xsl:value-of select=’$Name’ />");
z<xsl:value-of select=’$Name’ />.readonly(true);
dhtmlxEvent(z<xsl:value-of select=’$Name’ />.DOMelem_input,“mouseover”,function(){
document.getElementById(“td_<xsl:value-of select=’@name’ />”).style.color = ‘#006AB6’;
z<xsl:value-of select=’$Name’ />.DOMelem.style.border=‘1px solid red’;})
dhtmlxEvent(z<xsl:value-of select=’$Name’ />.DOMelem_input,“mouseout”,function(){
document.getElementById(“td_<xsl:value-of select=’@name’ />”).style.color = ‘black’;
z<xsl:value-of select=’$Name’ />.DOMelem.style.border=‘1px solid black’;});
But the moment I move on the DropdownList of the dropdown - it calls the mouseout function:
Please is there a Mouseover & Mouseout function for the DropDownList
Please Assist - Regards
The list element of combo can be accessed as DOMList, so you can use the same code as above with DOMelem replaced with DOMList
Thank You, i kind of found it earlier but could not update the post i checked how it was called in the script file:
dhtmlxEvent(z<xsl:value-of select=’$Name’ />.DOMlist,“mouseover”,function(){
z<xsl:value-of select=’$Name’ />.DOMelem_button.src = (window.dhx_globalImgPath?dhx_globalImgPath:"")+‘browse.gif’;
Thank You