Pop-up menu jquery Plugin

Source: Internet
Author: User
Tags jquery library

Plugin Name: Collayi
English Name: keleyi
JS file name: jquery.keleyi.js
Plug-in Features: This plugin allows you to easily build a popup level two menu on the page.


Browser support:

Keleyi 0.1. Version 4 supports IE6 and above, Chrome, Firefox, Open Gate (Opera), Safari and other browsers, and also supports IE6

Keleyi 0.1. Version 3 supports IE8 and above, Chrome, Firefox (Firefox), Open Gate (Opera), Safari and other browsers, does not support IE6.


Example view: http://keleyi.com/keleyi/

More examples: 0 1 2 3 4 5 6 7 8 9 10 11 12

As can be seen from the example, the Keleyi menu plugin is easy to use and can be flexibly customized to a variety of styles, including color, position, menu item width and so on.

The following is an example of the HTML file code:

<! DOCTYPE html>
<title>keleyi (jQuery Menu Plugin)-keleyi.com</title><base target= "_blank"/>
<script type= "Text/javascript" src= "Http://keleyi.com/keleyi/pmedia/jquery/jquery-1.10.2.min.js" ></ Script>
<link href= "Http://keleyi.com/keleyi/inc/jquery.keleyi.css" type= "Text/css" rel= "Stylesheet"/>
<style>
Body
{
margin:0px;
Overflow:scroll;
}
</style>
<body>
<div style= "Text-align:center" >A jQuery Menu Plugin
</div>
<div style= "height:360px;" ></div>
<ul id= "Keleyi-menu" >
<li><a href= "http://keleyi.com" >Home</a></li>
<li><a href= "http://keleyi.com/menu/webqd/" >Web</a>
<ul>
<li><a href= "http://keleyi.com/menu/javascript/" >Javascript</a></li>
<li><a href= "http://keleyi.com/menu/jquery/" >jQuery</a></li>
<li><a href= "http://keleyi.com/menu/html5/" >HTML5</a></li>
</ul>
</li>
<li><a href= "http://keleyi.com/keleyi/" >Keleyi</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/" >Demo</a>
<ul>
<li><a href= "http://keleyi.com/keleyi/demo/1.htm" >demo 1</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/2.htm" >demo 2</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/3.htm" >demo 3</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/4.htm" >demo 4</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/5.htm" >demo 5</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/6.htm" >demo 6</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/7.htm" >demo 7</a></li>
</ul>
</li>
<li><a href= "http://keleyi.com/keleyi/demo/8.htm" >demo 8</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/9.htm" >demo 9</a></li>
</ul>
<div style= "height:900px; visibility:visible;
</div>
<script type= "Text/javascript" src= "Http://keleyi.com/keleyi/inc/jquery.keleyi.js" ></script>
<script type= "Text/javascript" >
$ ("#keleyi-menu"). Keleyi ({"Item_width": "100px", "bar_position": "Relative"
, "margin": "0px auto 0px 0px"
});
</script>
</body>


Plug-in use one:
Using this plugin, you need to refer to these 3 files (a CSS file, a jquery library, and a plugin js file):
<link href= "Http://keleyi.com/keleyi/inc/jquery.keleyi.css" type= "Text/css" rel= "Stylesheet"/>
<script type= "Text/javascript" src= "Http://keleyi.com/keleyi/pmedia/jquery/jquery-1.10.2.min.js" ></ Script>
<script type= "Text/javascript" src= "Http://keleyi.com/keleyi/inc/jquery.keleyi.js" ></script>

Use of plug-in two:
From the code above, the HTML code for this menu is very concise and has the following format:
<ul id= "Keleyi-menu" >

<li><a href= "Http://keleyi.com" > main menu item One </a></li>
<li><a href= "http://keleyi.com/keleyi/" > main menu item two </a></li>

<li><a href= "http://keleyi.com/keleyi/demo/" > main menu item three </a>
<ul>
<li><a href= "http://keleyi.com/keleyi/demo/1.htm" > Sub-menu Items 1</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/2.htm" > Sub-menu Items 2</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/3.htm" > Sub-menu Items 3</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/4.htm" > Sub-menu Items 4</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/5.htm" > Sub-menu Items 5</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/6.htm" > Sub-menu Items 6</a></li>
<li><a href= "http://keleyi.com/keleyi/demo/7.htm" > Sub-menu Items 7</a></li>
</ul>
</li>

</ul>

Use of plug-in three:
Then there is the code that defines the menu:
<script type= "Text/javascript" >
$ ("#keleyi-menu"). Keleyi ({"Item_width": "100px", "bar_position": "Relative"
, "margin": "0px auto 0px 0px"
});
</script>

This allows you to display a special up pop-up menu on the page.


Menu Daquan

Original: http://keleyi.com/a/bjac/c4oc8tyo.htm

Pop-up menu jquery Plugin

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.