tool tip

create one div or span assign the id name  key at this same time create anyone popup give id name key_con,
 when you click key pop up will show.
 once again you click the key popup will hide .

look this code:



$('#key').live('click', function(){
    if(!key){
        $('#key_con').show();
        key = true;
    }
    else if(key){
        $('#key_con').hide();
        key = false;
    }
});

No comments:

Post a Comment