www.webdeveloper.com
Results 1 to 2 of 2

Thread: alternative for tool tip and horizontal scroll for javascript drop down list

Hybrid View

  1. #1
    Join Date
    May 2009
    Posts
    9

    alternative for tool tip and horizontal scroll for javascript drop down list

    Hi,
    As we know IE SELECTdrop down list has limitations on tool tip on individual option items and also horizontal scroll bar.
    Can any one please tell any other alternative to show the tool tip using javascript or has any one implemented drop down list using div which has all the functionalites of drop down list.


    Thanks,
    Nags

  2. #2
    Join Date
    Oct 2003
    Location
    Andover, UK
    Posts
    947
    Can't personally see why you would want tooltips on select options but, if you must, the only way would be with CSS. Put a div inside each option (this might fail validation, mind you), and use some CSS like this:

    Code:
    option { position: relative; }
    option div { display: none; position: absolute; left: 100px; width: 150px; height: 35px; }
    option:hover div { display: block; }

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles