I have a jumpMenu that I need to style, see images below for what the current state is and the "goal" of what I need it to look like. I've tried applying a background image but it doesn't show up. Is something like this even possible?
Page where it's being used:http://earbible.com/
code for jumpMenu
css for dropDown2Code:<select name="lang" class="dropDown2" onchange="jumpMenu('parent',this,0)"><!-- BEGIN: option --> <option value="index.php?_g=sw&r={VAL_CURRENT_PAGE}&lang={LANG_VAL}" {LANG_SELECTED} onmouseover="javascript:getImage('language/{LANG_VAL}/flag.gif');">{LANG_NAME}</option><!-- END: option --> </select>
javascript for jumpMenuCode:.dropDown2 { width: 190px; background-color: #FFFFFF; border: 1px solid #999999; font-size: 11px; color: #000000; margin:5px; }
I have tried this code to get a background image to show, but it doesn'tCode:function jumpMenu(target, object, restore) { eval(target+".location='"+object.options[object.selectedIndex].value+"'"); if (restore) object.selectedIndex=0; }
Please let me know if it is possible to change the look of the arrow to be an image and be used across all browsers.Code:{ width: 160px; background-color: #FFFFFF; border: 1px solid #999999; font-size: 11px; color: #000000; background-image:url(../images/txtINPT.gif); background-position:top left; background-repeat:no-repeat; margin:5px; }
Thanks!
Jen


Reply With Quote

Bookmarks