SHARE
TWEET

EmbedVid

chopical Feb 26th, 2020 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <script type="text/javascript" language="JavaScript"><!--
  5. function HideContent(d) {
  6. document.getElementById(d).style.display = "none";
  7. }
  8. function ShowContent(d) {
  9. document.getElementById(d).style.display = "block";
  10. }
  11. function ReverseDisplay(d) {
  12. if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
  13. else { document.getElementById(d).style.display = "none"; }
  14. }
  15. //--></script>
  16.     <meta charset="UTF-8">
  17.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  18.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  19.     <title>Document</title>
  20. </head>
  21. <body>
  22.  
  23. <a href="javascript:ReverseDisplay('video1')">Video1</a>
  24. <div id="video1" style="display:none;">
  25. <p>first video</p>
  26. </div>
  27. <br>
  28. <a href="javascript:ReverseDisplay('video2')">Video2</a>
  29. <div id="video2" style="display:none;">
  30. <p>second video</p>
  31. </div>
  32.  
  33. </body>
  34. </html>
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