toggle page scroll


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  4. <title>Untitled Document</title>
  5. <style type="text/css">
  6. <!--
  7. body {
  8. font-family: Georgia, "Times New Roman", Times, serif;
  9. color: #666666;
  10. margin: 2em auto;
  11. width: 600px;
  12. }
  13. -->
  14. <script type="text/javascript">
  15. var b = true;
  16. function f() {
  17.  
  18. if (b)
  19. {
  20. //document.getElementsByTagName("body")[0].style.overflow = "hidden";
  21. document.getElementsByTagName("html")[0].style.overflow = "hidden";
  22. }
  23. else {
  24. //document.getElementsByTagName("body")[0].style.overflow = "scroll";
  25. document.getElementsByTagName("html")[0].style.overflow = "scroll";
  26. }
  27. b = !b;
  28. }
  29. </head>
  30.  
  31. <a href="#" onclick="f();">Toggle Scroll</a>
  32. <p>Or bends with the remover to remove. Which alters when it alteration finds, love alters not with his brief hours and weeks, that looks on tempests and is never shaken. Within his bending sickle's compass come; but bears it out even to the edge of doom.</p>
  33. <p>Let me not to the marriage of true minds admit impediments; love is not love love alters not with his brief hours and weeks. Or bends with the remover to remove. Which alters when it alteration finds, it is the star to every wand'ring bark, within his bending sickle's compass come. Admit impediments; love is not love. Whose worth's unknown, although his height be taken.</p>
  34. <p>It is the star to every wand'ring bark, which alters when it alteration finds, let me not to the marriage of true minds. But bears it out even to the edge of doom. Admit impediments; love is not love love's not time's fool, though rosy lips and cheeks that looks on tempests and is never shaken. If this be error and upon me proved, oh, no, it is an ever fixed mark love alters not with his brief hours and weeks. Let me not to the marriage of true minds or bends with the remover to remove.</p>
  35. <p>I never writ, nor no man ever loved. Whose worth's unknown, although his height be taken. Love's not time's fool, though rosy lips and cheeks it is the star to every wand'ring bark, but bears it out even to the edge of doom. Or bends with the remover to remove.</p>
  36. <p>Oh, no, it is an ever fixed mark whose worth's unknown, although his height be taken. Let me not to the marriage of true minds love's not time's fool, though rosy lips and cheeks which alters when it alteration finds. Within his bending sickle's compass come; or bends with the remover to remove. That looks on tempests and is never shaken; but bears it out even to the edge of doom. Admit impediments; love is not love it is the star to every wand'ring bark, love's not time's fool, though rosy lips and cheeks.</p>
  37. <p>Whose worth's unknown, although his height be taken. That looks on tempests and is never shaken; I never writ, nor no man ever loved. Love alters not with his brief hours and weeks, but bears it out even to the edge of doom. Within his bending sickle's compass come; whose worth's unknown, although his height be taken. Oh, no, it is an ever fixed mark that looks on tempests and is never shaken; let me not to the marriage of true minds.</p>
  38. <p>If this be error and upon me proved. That looks on tempests and is never shaken; oh, no, it is an ever fixed mark within his bending sickle's compass come. Admit impediments; love is not love let me not to the marriage of true minds love's not time's fool, though rosy lips and cheeks. Or bends with the remover to remove. It is the star to every wand'ring bark, love alters not with his brief hours and weeks, if this be error and upon me proved.</p>
  39. <p>I never writ, nor no man ever loved. Love's not time's fool, though rosy lips and cheeks or bends with the remover to remove. Whose worth's unknown, although his height be taken. Oh, no, it is an ever fixed mark which alters when it alteration finds, love alters not with his brief hours and weeks.</p>
  40. <p>Or bends with the remover to remove. Let me not to the marriage of true minds admit impediments; love is not love within his bending sickle's compass come. Love's not time's fool, though rosy lips and cheeks oh, no, it is an ever fixed mark or bends with the remover to remove. It is the star to every wand'ring bark, let me not to the marriage of true minds admit impediments; love is not love.</p>
  41. <p>I never writ, nor no man ever loved. Which alters when it alteration finds, admit impediments; love is not love let me not to the marriage of true minds. Love's not time's fool, though rosy lips and cheeks or bends with the remover to remove. But bears it out even to the edge of doom.</p>
  42. <p>Oh, no, it is an ever fixed mark it is the star to every wand'ring bark, if this be error and upon me proved. Let me not to the marriage of true minds within his bending sickle's compass come; or bends with the remover to remove. That looks on tempests and is never shaken; admit impediments; love is not love. It is the star to every wand'ring bark, whose worth's unknown, although his height be taken. Or bends with the remover to remove.</p>
  43. <p>Oh, no, it is an ever fixed mark admit impediments; love is not love love's not time's fool, though rosy lips and cheeks. But bears it out even to the edge of doom. I never writ, nor no man ever loved.</p>
  44. <p>That looks on tempests and is never shaken; oh, no, it is an ever fixed mark which alters when it alteration finds. Admit impediments; love is not love if this be error and upon me proved, let me not to the marriage of true minds. Let me not to the marriage of true minds within his bending sickle's compass come; it is the star to every wand'ring bark. Whose worth's unknown, although his height be taken.</p>
  45. <p>That looks on tempests and is never shaken; but bears it out even to the edge of doom. Which alters when it alteration finds, admit impediments; love is not love it is the star to every wand'ring bark. Oh, no, it is an ever fixed mark within his bending sickle's compass come; love alters not with his brief hours and weeks. But bears it out even to the edge of doom. That looks on tempests and is never shaken.</p>
  46. <p>Let me not to the marriage of true minds admit impediments; love is not love which alters when it alteration finds. That looks on tempests and is never shaken; within his bending sickle's compass come; or bends with the remover to remove. Let me not to the marriage of true minds oh, no, it is an ever fixed mark love alters not with his brief hours and weeks. I never writ, nor no man ever loved.</p>
  47. <p>It is the star to every wand'ring bark, within his bending sickle's compass come; let me not to the marriage of true minds. If this be error and upon me proved. Admit impediments; love is not love within his bending sickle's compass come; it is the star to every wand'ring bark. Or bends with the remover to remove. If this be error and upon me proved, but bears it out even to the edge of doom.</p>
  48. <p>I never writ, nor no man ever loved. Whose worth's unknown, although his height be taken. Let me not to the marriage of true minds love alters not with his brief hours and weeks, which alters when it alteration finds.</p>
  49. <p>Love's not time's fool, though rosy lips and cheeks within his bending sickle's compass come; if this be error and upon me proved. Let me not to the marriage of true minds whose worth's unknown, although his height be taken. Love's not time's fool, though rosy lips and cheeks within his bending sickle's compass come; that looks on tempests and is never shaken.</p>
  50. <p>It is the star to every wand'ring bark, which alters when it alteration finds, oh, no, it is an ever fixed mark. If this be error and upon me proved, admit impediments; love is not love within his bending sickle's compass come. Whose worth's unknown, although his height be taken.</p>
  51. <p>I never writ, nor no man ever loved. It is the star to every wand'ring bark. Or bends with the remover to remove. Love's not time's fool, though rosy lips and cheeks admit impediments; love is not love which alters when it alteration finds. It is the star to every wand'ring bark, oh, no, it is an ever fixed mark if this be error and upon me proved.</p>
  52. </body>
  53. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.