Mac-Style Drop Down Menu

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-11 22:41:54

软件介绍

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

本文地址:https://www.codercto.com/soft/d/23183.html

代码阅读方法与实践

代码阅读方法与实践

斯平内利斯 / 赵学良 / 清华大学出版社 / 2004-03-01 / 45.00元

代码阅读有自身的一套技能,重要的是能够确定什么时候使用哪项技术。本书中,作者使用600多个现实的例子,向读者展示如何区分好的(和坏的)代码,如何阅读,应该注意什么,以及如何使用这些知识改进自己的代码。养成阅读高品质代码的习惯,可以提高编写代码的能力。 阅读代码是程序员的基本技能,同时也是软件开发、维护、演进、审查和重用过程中不可或缺的组成部分。本书首次将阅读代码作为一项独立课题......一起来看看 《代码阅读方法与实践》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

html转js在线工具
html转js在线工具

html转js在线工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具