codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
$(document).ready(function(){ $( '.category' ).click( function() { $( this ).toggleClass( 'active' ) $( this ).siblings( '.dropdown' ).toggle(); $( this ).find( '.indicator' ).toggleClass( 'indicator-active' ); return false; } ); $('#dock ul > li').hover(function(){ $( '.latest' ).hide(); $( this ).addClass( 'dock-active' ); $( this ).stop().children( 'span' ).fadeIn( 200 ); }, function(){ $( this ).removeClass( 'dock-active' ); $( this ).stop().children( 'span' ).fadeOut( 200 ); } ); $( '#dock .item-list' ).bind( "mouseleave", function() { $( '.latest' ).fadeIn( 1000 );} ); $('#dock .item-list a').hover(function() { $( this ).animate({ top: -6 }, 'fast');}, function() { $( this ).animate({ top: 0 }, 'fast');} ); });
Private
[
?
]
Run code
Submit