Mac-Style Drop Down Menu 介绍
Description
This plugin dynamically skin default form’s drop down menu, i.e. <select>,
of choice as if rendered on Safari browser; thus, the name: Mac-Style Drop
Down Menu.
In a general sense, the plugin serves as a foundation for further
customization (new skin, animation, etc.). This is particularly useful when
you want to create a drop down menu that has consistent look across different
browsers. Please don’t hesitate to create support requests if you have any
problems or suggestions/comments.
Design
- Safe-fail: the default drop down will still work when Javascript is disabled.
- Progressive enhancement (at least, I tried hard to comply).
Latest Releases
Version 1.0, for download and release notes please go to modmac
v1.0.
For older versions, see Releases below.
Compatibility
This plugin has been tested to be compatible with Internet Explorer 7.0,
Firefox 2.0, and Safari 2.0 or greater.
How to Use
Call modmac function on <select> element to which you want to apply the
skin. Yep, that’s all you need to do.
... $(document).ready(function() { $('#id').modmac(); }); ... <form method="get" action="/scripts/backend.PHP"> <!-- simply code using the default markup --> <select id="id" name="month"> <option value="January" selected="selected">January</option> <option value="February">February</option> <option value="march">march</option> </select> ...
Demo
Please visit: http://www.mulyadi.org/demo/jquery/modmac/modmac.html
Mac-Style Drop Down Menu 官网
http://plugins.jquery.com/project/modmac
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。