Categories | Question details Back To List | ||
Tool Tip Thanks for your help. <div id="combo_zone2" style="width:200px; height:30px;"></div> <script> var z=new dhtmlXCombo("combo_zone2","alfa2",50); z.addOption([[1,"<a title='One long tool tip'>One</a>"]]); //Works okay with text, but not with number. Will not work, but okay, I need text anyway... z.addOption([[1,"<a title='One long tool tip'>1</a>"]]); </script> Thanks again. Answer posted by Support on Dec 15, 2008 01:30 >>z.addOption([[1,"<a title='One long tool tip'>1</a>"]]); Actually works as well, but you need to hover mouse exactly over "1", which is not so easy You can made tooltip visible for whole string by using some "block" tag for text wraping , or just >z.addOption([[1,"<a title='One long tool tip' style='display:block'>1</a>"]]); |