jquery Landscaping drop-down menu plugin Dropkick

Source: Internet
Author: User
Tags jquery library

dropkick is a plugin based on the jquery library 's Landscaping drop-down menu, which makes the ugly <select> drop-down list beautiful by customizing HTML insertion.

The Name property is the only required fill, but you should also set a TabIndex property to set the ordering of the navigation menu.

When you select an option in Dropkick, events are also triggered, which means that your forms, Ajax work, and traditional, do not require any changes.

If this paragraph is not suitable, please take a look at this site another jquery drop-down box can expand and beautify the plugin chosen

Characteristics

1. Work like a drop-down box

2, Support keyboard: can enter, up and down direction to open and select options

3. You can use the (object) dropkick (' Refresh ') method to dynamically update the contents of the options

4. Easy to define theme and dynamic change theme

5. Customizable callback function

How to use

Introducing core files to ensure that jquery 1.7.1 or more is introduced

1     <Linkrel= "stylesheet"href= "Css/dropkick.css"type= "Text/css">2     <Scriptsrc= "Http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></Script>3     <Scriptsrc= "Jquery.dropkick-min.js"></Script>

Write HTML, just add a drop-down box

1 <Selectname= "Country"class= "Default"TabIndex= "2">2 <optionvalue="">Try me!</option>3 <optionvalue= "AU">Australia</option>4 <optionvalue= "CA">Canada</option>5  <optionvalue= "DE">Germany</option>6  <optionvalue= "JP">Japan</option>7  <optionvalue= "GB">Kingdom</option>8 <optionvalue= "US">States</option>9 </Select>

Write JS, initialize plugin
    $ ('. Default '). Dropkick ();

Well, a nice drop-down box is ready.

: Baidu Cloud | Official Downloads

jquery Landscaping drop-down menu plugin Dropkick

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.