when i refresh the page, the popup window is visible for a second. How to clear this issue

Posted by mano on Stack Overflow See other posts from Stack Overflow or by mano
Published on 2012-10-25T04:44:15Z Indexed on 2012/10/25 5:00 UTC
Read the original article Hit count: 119

Filed under:
|
|

script

   $(document).ready(function(){
     $(".aboutBtn").click(function () {
            $(".aboutContent").slideToggle("slow");
   });

  $(".contact").click(function () {
            $(".aboutContent").slideToggle("slow");
      });
   });

*Html *

<article class="aboutBtn">ABOUT</article>

Css

 .aboutBtn{
       width:85px; 
       padding:5px 0px 5px 10px; 
       background-color:#d8531e;
       cursor:pointer;
       color:#ffffff; 
       font-size:20px; 
       text-transform:uppercase;
       position:relative;top:-48px; 
       font-family:"Segoe UI Light";
  }

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html