javascript - How to drop a select list by 'onmouseover'? -
how can drop down select list onmouseover instead of clicking it. select list cannot clicked in javascript emulate that. eg: onmouseover="(this.click())"
also setting 'size of select list' = 'its length' in javascript not accurately emulate click event because adjacent layout changes. tried using z-index , position attribute doesn't help.
here's clever hack oldish devshed post
select box expand onmouseover - dev shed
here's example in action:
personally i'd prefer 3rd party or custom solution opposed hacking <select> element
Comments
Post a Comment