SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist venkat6134's Avatar
    Join Date
    Jul 2010
    Posts
    455
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to add mouseover text for each select box item?

    Hi all,
    I want to add a mouse over text for each select box items in a select box..

    Means, when user moves cursor in the select box items, based on the item related text will be shown up as a mouse over text.

    How to do this?

    Help me regarding this...

    Thanking you, in advance...

  2. #2
    SitePoint Addict
    Join Date
    Dec 2005
    Posts
    336
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can add the title attribute to the options:
    Code HTML4Strict:
    <select>
    	<option title="This is Option 1"> - 1 - </option>
    	<option title="This is Option 2"> - 2 - </option>
    	<option title="This is Option 3"> - 3 - </option>
    </select>


Bookmarks

Posting Permissions

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