Either using plain HTML or jQuery assisted JavaScript, how do you display tooltips on individual <option>
elements to aid the decision process (there is not enough room for a different kind of control and some help will be needed).
Can this be done though a plug-in or similar?
I have tried a few tooltip plugins for jQuery with no success (including the one called Tooltip).
This solution should:
- work in IE, WebKit as well as Gecko;
- utilizing standard
<select>
wrapped<option>
elements.
因此,如果解决方案想要使用其他标记,它应该动态地将这些元素转换为它需要的元素(并且不期望初始标记有任何不同).
这方面的代码可以在here中找到,它在SafeSurf部分下,我想在这里显示一些关于选项滚动的帮助,以了解选项的含义.目前,它只能在"事后"显示,一些对用户的前期帮助将是有益的.
Appreciate that this is not easy and that something will probably need to be created - so the bounty will be awarded to the most complete solution or the specific hook that lands me closest to a solution I can create.个