Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-24-2012, 07:07 PM   PM User | #1
Surfmonkey
New to the CF scene

 
Join Date: Apr 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Surfmonkey is an unknown quantity at this point
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
Surfmonkey is offline   Reply With Quote
Reply

Bookmarks

Tags
hide, menu, query

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:15 AM.


Advertisement
Log in to turn off these ads.