title: Looking Alternate Better Way Code
body: <p>I have one image top of that I have 'N' number of links. On each click on it should open one small popup window. Below code its working fine but I don't want redundant code and one more thing at time I should able to open only one popup. Help me  better way code adn </p>
  
  <pre><code>$('.info1').on('click',function()
  {
  $('.info1-desc').css('display','block');
  
  }); 
  $('.info2').on('click',function()
  {
  $('.info2-desc').css('display','block');
  
  }); 
  $('.info3').on('click',function()
  {
  $('.info3-desc').css('display','block');
  
  });
  </code></pre>