Kryptix Posted March 13, 2010 Share Posted March 13, 2010 I'm making a country selection with a drop down menu and have 200 countries in PNG format (16 x 11 pixels or something close to that). I can loop through them all and display them in a list fine but I need to know how to add a image into the actual drop down menu. I've never done this before and don't know how to do it. Any ideas? Quote Link to comment Share on other sites More sharing options...
Kryptix Posted March 14, 2010 Author Share Posted March 14, 2010 Anyone? Quote Link to comment Share on other sites More sharing options...
haku Posted March 14, 2010 Share Posted March 14, 2010 I don't think it's possible. At least not in all browsers. Do you have an example of a site that does this? Quote Link to comment Share on other sites More sharing options...
slurpee Posted March 14, 2010 Share Posted March 14, 2010 You can use some JavaScript Framework plugin to do this. This is a jQuery plugin that seems to be just what you need. http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessible_plugin_for_styling_a_html_select/. Some of the bottom demos have images in them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.