Advertisement
Guest User

html code

a guest
Jun 20th, 2019
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.79 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. <style>
  6. .collapsible {
  7.   cursor: pointer;
  8.   width: 100%;
  9.   border: none;
  10.   text-align: left;
  11.   outline: none;
  12.   background-color: inherit;
  13. }
  14. .content {
  15.   display: none;
  16.   overflow: hidden;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21.  
  22. <p>Collapsible Set:</p>
  23.  
  24. <span class="collapsible">(1) JGBs rallied following Kuroda's dovish presser : JGBs rallied following Kuroda's dovish presser that saw the BoJ joining ranks with the Fed and ... </span>
  25. <span class="content">
  26.   <p>the ECB and signalled the willingness to deliver further easing if necessary. The 10- year JGB rate fell back -3.6 bp to -0.180% and 10- year Treasury yields extended their slide to now 1.987%, down -3.6 bp on the day. The BoE has remained the outlier among central banks...</p>
  27. </span>
  28.  
  29. <br/><br/>
  30. <span class="collapsible">(2) JGBs rallied following Kuroda's dovish presser : JGBs rallied following Kuroda's dovish presser that saw the BoJ joining ranks with the Fed and ... </span>
  31. <span class="content">
  32.   <p>the ECB and signalled the willingness to deliver further easing if necessary. The 10- year JGB rate fell back -3.6 bp to -0.180% and 10- year Treasury yields extended their slide to now 1.987%, down -3.6 bp on the day. The BoE has remained the outlier among central banks...</p>
  33. </span>
  34.  
  35.  
  36.  
  37.  
  38.  
  39. <script>
  40. var coll = document.getElementsByClassName("collapsible");
  41. var i;
  42.  
  43. for (i = 0; i < coll.length; i++) {
  44.  coll[i].addEventListener("click", function() {
  45.    this.classList.toggle("active");
  46.    var content = this.nextElementSibling;
  47.    if (content.style.display === "block") {
  48.      content.style.display = "none";
  49.    } else {
  50.      content.style.display = "block";
  51.    }
  52.  });
  53. }
  54. </script>
  55.  
  56. </body>
  57. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement