[jQuery] Re: How to hide pop is blur

2009-08-13 Thread Jon Banner
$('#show').click(function(){
   $('#popup').fadeIn(slow, function(){
  $(other things).click(function(){
 $('#popup, #show').hide();
  });
  });
});

2009/8/13 David .Wu chan1...@gmail.com


 There is a button control a div show or not, I want when you click
 other things then the div will disappear too exclude div itself and
 also the show button, how to do that?

 [html]
 html
 
 .
 input type=button id=show value=show
 div id=popup style=display: none;
 
 ..
 /div
 
 /html

 [JavaScript]
 script
 $('#show').click(function(){
 $('#popup').toggle();
 });
 /script



[jQuery] Re: How to hide pop is blur

2009-08-13 Thread David .Wu

How to declare other thing?

On 8月13日, 下午7時28分, Jon Banner banali...@googlemail.com wrote:
 $('#show').click(function(){
    $('#popup').fadeIn(slow, function(){
       $(other things).click(function(){
          $('#popup, #show').hide();
       });
   });

 });

 2009/8/13 David .Wu chan1...@gmail.com



  There is a button control a div show or not, I want when you click
  other things then the div will disappear too exclude div itself and
  also the show button, how to do that?

  [html]
  html
  
  .
  input type=button id=show value=show
  div id=popup style=display: none;
  
  ..
  /div
  
  /html

  [JavaScript]
  script
  $('#show').click(function(){
  $('#popup').toggle();
  });
  /script