Advertisement
Datasmurf

helsetilbud

Oct 30th, 2013
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 1.69 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Helsetilbud</title>
  6. <style>
  7. p {
  8. font-family: "Arial";
  9. font-style: normal;
  10. font-size: 11px;
  11. }
  12. h3 {
  13.     font-family: "Arial";
  14.     font-weight: bold;
  15.     font-size: 20px;
  16. }
  17. </style>
  18. <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.10.2.min.js">
  19. </script>
  20. </head>
  21.  
  22. <body>
  23.  
  24. <h3 id="orkdal">Orkdal</h3>
  25. <p id="fannls">Fannrem legesenter</p>
  26. <h3 id="skaun">Skaun</h3>
  27. <p id="skaunls">Skaun legesenter</p>
  28. <h3 id="agdenes">Agdenes</h3>
  29. <p id="agdenesls">Agdenes legesenter</p>
  30. <h3 id="snillfjord">Snillfjord</h3>
  31. <p id="snillfjordls">Snillfjord legesenter</p>
  32. <h3 id="hemne">Hemne</h3>
  33. <p id="hemnels">Hemne legesenter</p>
  34. <h3 id="meldal">Meldal</h3>
  35. <p id="meldalls">Meldal legesenter</p>
  36. <h3 id="rennebu">Rennebu</h3>
  37. <p id="rennebuls">Rennebu legesenter</p>
  38. <h3 id="rindal">Rindal</h3>
  39. <p id="rindalls">Rindal legesenter</p>
  40.  
  41. <script>
  42. $( "#orkdal" ).click(function() {
  43. $( "#fannls" ).toggle( "fast" );
  44. });
  45. </script>
  46. <script>
  47. $( "#skaun" ).click(function() {
  48. $( "#skaunls" ).toggle( "fast" );
  49. });
  50. </script>
  51. <script>
  52. $( "#agdenes" ).click(function() {
  53. $( "#agdenesls" ).toggle( "fast" );
  54. });
  55. </script>
  56. <script>
  57. $( "#snillfjord" ).click(function() {
  58. $( "#snillfjordls" ).toggle( "fast" );
  59. });
  60. </script>
  61. <script>
  62. $( "#hemne" ).click(function() {
  63. $( "#hemnels" ).toggle( "fast" );
  64. });
  65. </script>
  66. <script>
  67. $( "#meldal" ).click(function() {
  68. $( "#meldalls" ).toggle( "fast" );
  69. });
  70. </script>
  71. <script>
  72. $( "#rennebu" ).click(function() {
  73. $( "#rennebuls" ).toggle( "fast" );
  74. });
  75. </script>
  76. <script>
  77. $( "#rindal" ).click(function() {
  78. $( "#rindalls" ).toggle( "fast" );
  79. });
  80. </script>
  81. </body>
  82.  
  83. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement