Try this. this should work!

$("a.help").click(function() {
  var showing = $(this.hash).css('display');
  $('.help-popup').hide();
  if(showing == 'none')
    $(this.hash).show();
return false;
});

Thanks,
-Syam

IschaGast wrote:
> 
> 
>> may be the following will work.
>>
>> jQuery(function($) {
>>                         $("a.help").bind('click',
>> function(){$('.help-popup').hide();$
>> (this.hash).show();});
>>
>> });
> 
> 
> This won't work, then it won't toggle anymore ;(
> I got it working with only toggle/click only but not when they have to
> do both.
> 
> 


-----
Learning web technologies... one at a time!
:working:
-- 
View this message in context: 
http://www.nabble.com/After-some-clicking-it-won%27t-show-up-tp18639368s27240p18655272.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to