Dropdown menu image instead of the default arrow image

前端 未结 1 1025
萌比男神i
萌比男神i 2021-01-29 00:06

is there a way that i can change the arrow image of a dropdown box and put a defined one in css/html?

1条回答
  •  [愿得一人]
    2021-01-29 00:38

    There aren't any html/css ways of getting round this - as Fatih stated in his comment, it's dependent on the operating system/browser combo. There are various JavaScript ways though.

    This one looks great to me, if you can pick the code out if it: http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index.html (link dead)

    This is quite nice too: http://uniformjs.com/

    Of course, you'll be able to change the graphics behind these so you can make them look how you wish.


    EDIT

    Although that link's dead, there is information on what could be found here and source files are still available on GitHub here.

    0 讨论(0)
提交回复
热议问题