Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

images as <option>

Status
Not open for further replies.

hunt00

Technical User
Mar 6, 2005
79
US
Does anyone know how to put images as the <option> dropdown choices?

Thanks!
 
You will have to create a custom control for that using css and javascript. The only other way would be to use background images but that will not work cross-browser or cross-OS.
 
A variation on something we're discussing in the JavaScript forum right now might help:

thread216-1184569

It's a fake drop-down. Really just an expanding/shrinking IFRAME with a fake arrow next to it to LOOK like a drop-down. Requires JavaScript.

Dave


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
O Time, Strength, Cash, and Patience! [infinity]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top