SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Don't eat yellow snow spaceman's Avatar
    Join Date
    Mar 2001
    Location
    Melbourne, Australia
    Posts
    1,039
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    title attribute equivalent for contents of a select tag?

    Here's a tough one:

    Is it possible to code a web page effect such that, when the mouse pointer moves over the text elements of a drop-down box (select tag), a pop-up box appears (1 for each line of text) with additional explanatory text - in much the same way as a title attribute works in a anchor tag?

    I think not, but hey, if you don't ask, you don't get.

    Thanks.
    Web Design Perth Melbourne .:. Itomic Business Website Solutions
    Drupal Experts .:. Drupalise

  2. #2
    Posts rarely lloydi's Avatar
    Join Date
    Jan 2002
    Location
    Swindon UK
    Posts
    620
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think there's a way to do this. I've certainly found that the title attribute doesn't behave with the <select> tag, let alone the <option> tags that sit within it.

    It would be dead useful to have extra information available on hover - particularly if this info could also be used by screen readers for reading out supplementary information.
    Build Your Own Web Site the Right Way!
    A beginners' HTML/CSS book with web standards at its heart
    The Ultimate HTML Reference
    A complete reference, in glorious hardback

  3. #3
    SitePoint Wizard
    Join Date
    Apr 2002
    Posts
    2,322
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    here's a selection of some "tooltip" popup scripts. may help i don't know -
    http://search.freefind.com/find.html...&query=tooltip

  4. #4
    Don't eat yellow snow spaceman's Avatar
    Join Date
    Mar 2001
    Location
    Melbourne, Australia
    Posts
    1,039
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by lloydi
    let alone the <option> tags that sit within it
    Oops! You're correct in that I should have more accurately referred to my problem in terms of the <option> tag instead of the select tag.

    Yes, would be really useful, but I think impossible (for now).
    Web Design Perth Melbourne .:. Itomic Business Website Solutions
    Drupal Experts .:. Drupalise


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
  •