Javascript Tooltip / Posts /

popup in javascript

2
how the popup is working ie showing/hiding and staying the popup
shruti  10 years ago   viewed: 3510    

1 Answer

-2

      label.addEventListener("mouseenter",function(e)
       {
              if(e.type=="mouseenter" && counter==0)
              {
                 body.appendChild(popup);
                  counter=1;
                  alert(counter+"1");
               } 
         });
        
         
        
     
      body.addEventListener("click",function(e)
      {
       body.removeChild(popup);
         alert(counter+"3");
         counter=0;
      });
hrd
  10 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: