Posted By

tcelestino on 05/26/11


Tagged

javascript html


Versions (?)

Close a div


 / Published in: JavaScript
 

  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Untitled Document</title>
  6. <script type="text/javascript">
  7.  
  8. function fechar(){
  9.  
  10. document.getElementById("floater").style.display = "none";
  11.  
  12. }
  13. </script>
  14. </head>
  15.  
  16. <body>
  17. <div id="floater">
  18. your image here
  19. </div>
  20. </body>
  21. </html>

Report this snippet  

You need to login to post a comment.