Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //bind select
- $(<select_jQuery_selector>).select_puncher({
- p_vertical: 'bottom',
- p_horizontal: 'right',
- animation: 'fade',
- animation_speed: 500
- });
- //global close
- $('body').bind('click',function(){
- $(<select_jQuery_selector>).each(function(){
- if($(this).hasClass('down')) $(this).removeClass('down').trigger('click');
- });
- });
Add Comment
Please, Sign In to add comment