alt text
- Started
- Last post
- 6 Responses
- arthurdent
is it possible to use "alt" text in a pull down menu?
Newstoday.com has a pulldown menu for thier editorial section. I am curious if it is possible to add "alt" text to the pulldown menu to explain what each option is.
- arthurdent0
after reading over my post i wanted to clarify my question.
how would one go about adding alt text to a pull down menu.
- mitsu0
if you want alt text for the listbox itself, just set a divs display on a mouseover event.
i don't think it's possible for each option though.
- arthurdent0
i was hoping to get each individual option its own alt text
- mort0
"alt" is an attribute of the img tag - its function is to display alternative text in the absence of an image.
"title" is the attribute you're thinking of (displays descriptive popup text when hovering over an image) and no, you can't do this in a html select box.
- arthurdent0
well, not what i wanted to hear...
but thanks for your time.
- mort0
you might find something here that looks and acts like a html dropdown box but uses dhtml.
as long as the options are images, you can use the "title" attribute to show a descriptive popup message