![]() |
Click anywhere to hide menu
Hi guys, new here and to jquery
I have had help to make a gallery where the thumbnails display on a transparent menu. As it stands you have to click on a tab to open and close the menu, but I would like to hide it if clicking anywhere on the screen. I think this is the right bit of code? function hideThumbs(){ $list.find('li.current') .animate({'height':'50px'},400,function(){ $(this).removeClass('current'); }) .find('.st_thumbs_wrapper') .hide(200) .andSelf() .find('.st_link span') .addClass('st_arrow_down') .removeClass('st_arrow_up'); } Thanks in advance |
| All times are GMT +1. The time now is 03:47 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.