


comprar viagra online
comprar viagra generico barato
comprar cialis generico online
comprar cialis online seguro
jSlickmenu: A jQuery plugin for slick CSS3 menus |
After releasing several jQuery scripts, I wanted to take the whole jQuery programming to another level. For that reason, I'm proud to release my first jQuery plugin for everyone to use. The plugin called jSlickmenu, creates, well, slick menus with jQuery. Combined with some great CSS3 features likes rotation and shadows, this plugin can really lift up your design. It's fairly easy to use, highly customizable and pretty cool (and fun!) to see. ![]() As usual, you can freely use and modify this script where you want and I hope it can be of use in your next (web)project.
IMPORTANT NOTE: The plugin has been made as extensible as possible, so you can also view a demo with advanced settings. Make sure you check out the video demo and how to use the plugin. Safari Demo Check out this small video I placed on YouTube, showing this effect in full glory (rotation, dragging, opacity etc.) inside Safari. How to use InstallingFirst, you'll need to import the script after importing jQuery. You'll need to place this between the <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="js/jquery.jslickmenu.js"></script> Right after importing the Javascript files, you'll need to import the CSS for jSlickmenu. This needs to be placed in the <link rel="stylesheet" type="text/css" href="css/slickmenu.css"/> Now, the menu HTML needs to be as follows: <div id="menu"> <ul> <li><a href="[LINK]"> <img src="[IMG]" alt="[TITLE]" /> </a></li> <!-- more menu items --> </ul> </div> The When that's all set, you can execute the following JavaScript statement to enable the plugin on the just created menu: $("#menu").jSlickmenu(); That's it! Your menu should be fully capable of showing some amazing effects. OptionsYou want to change some of the slick default effects? Of course you can! Make sure you check out the advanced demonstration too. You can change the following settings:
Here's an example of how the jSlickmenu can be changed with options: $("#menu").jSlickmenu({ speed : 100, fadeopacity : 0.1, infomargin : 15, leftmargin : 150, css3rotate : false, css3shadow : '#999 5px 10px 10px', css3borderradius : 3, borderneutral : 5, borderhover : 20 }); Conclusion and Download Hopefully CSS3 will become the standard quick and users will kick out the old browsers too. This way, this technique would be pretty awesome to be used to display some awesome menu systems. With this plugin, it's simple to achieve, still the effect is pretty powerful. It's really fun too! What do you think of this plugin? Can it be improved? Are you using it somewhere? Please share! Tags: jslickmenu plugin jquery css3 menu slick Interested in this topic? You might enjoy another article I've written called |
< Prev | Next > |
---|
Search |
---|
Or try the sitemap |