Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- $("#nav-one li").click(
- function(){ $("ul", this).fadeIn("fast"); }
- );
- if (document.all) {
- $("#nav-one li").hoverClass ("sfHover");
- }
- });
- $.fn.hoverClass = function(c) {
- return this.each(function(){
- $(this).click(
- function() { $(this).addClass(c); }
- );
- }
- );
- };
Add Comment
Please, Sign In to add comment