下拉菜单图像而不是默认的箭头图像 [英] Dropdown menu image instead of the default arrow image
问题描述
是否有一种方法可以更改下拉框的箭头图像并将其定义在css / html中?
没有任何html / css方式可以绕过这个 - 正如法提赫在他的评论中所说的那样,它依赖于操作系统/浏览器组合。虽然有不同的JavaScript方法。
这对我来说很好,如果你可以选择代码: http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index。 HTML (link dead)
这也相当不错: http://uniformjs.com/
当然,您可以更改背后的图形,以便制作他们看你是多么希望。
编辑
虽然链接已死,有关于可以找到的信息此处和源文件仍可在GitHub上找到< a href =https://github.com/pixeldrew/jqueryui-selectmenu =nofollow noreferrer>这里。
is there a way that i can change the arrow image of a dropdown box and put a defined one in css/html?
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.
这篇关于下拉菜单图像而不是默认的箭头图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!