daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Apr 26th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #mybox{
  2. display:none;
  3. }
  4.    
  5. <div id='mybox'>
  6. ...
  7. </div>
  8.  
  9.  
  10. <script type='text/javascript'>
  11.   $(document).ready(function(){
  12.    $("#mybox").css("display","visible");
  13. })
  14. </script>
  15.    
  16. <div id='mybox'>
  17. ...
  18. </div>
  19.  
  20.  
  21. <script type='text/javascript'>
  22.   $(document).ready(function(){
  23.    $("#mybox").css("display","block");
  24. })
  25. </script>
  26.    
  27. $('#mybox').show();
  28.    
  29. $('#mybox').slideDown();
  30.    
  31. $(function() {
  32.   $("#mybox").show();
  33. });
  34.    
  35. $(function() {
  36.   $("#mybox").toggleClass("visible");
  37. });
  38.    
  39. div.visible { display: block; }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top