Advertisement
Guest User

One Page

a guest
Jan 27th, 2015
256
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="description" content="">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>Untitled</title>
  8. </head>
  9. <body>
  10.  
  11. <ul id="nav">
  12. <li class="current"><a href="#home">Home</a></li>
  13. <li><a href="#about">About</a></li>
  14. <li><a href="#work">Work</a></li>
  15. </ul>
  16.  
  17. <div id="home">
  18. <strong>Home</strong>
  19. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
  20. </div>
  21.  
  22. <div id="about">
  23. <strong>About</strong>
  24. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
  25. </div>
  26.  
  27. <div id="work">
  28. <strong>Work</strong>
  29. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
  30. </div>
  31.  
  32.  
  33. <script src="http://code.jquery.com/jquery-latest.min.js"></script>
  34. <script src="jquery.scrollTo.js"></script>
  35. <script src="jquery.nav.js"></script>
  36. <script type="text/javascript">
  37.  
  38. s$(document).ready(function() {
  39. $('#nav').onePageNav();
  40. });
  41.  
  42. </script>
  43.  
  44. </body>
  45. </html>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement