Advertisement
Guest User

Untitled

a guest
Oct 19th, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  8. <title>KIEK le Chique</title>
  9.  
  10. <!-- Bootstrap -->
  11. <link href="css/bootstrap.min.css" rel="stylesheet">
  12. <link href="css/website.css" rel="stylesheet">
  13.  
  14. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  15. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  16. <!--[if lt IE 9]>
  17. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  18. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  19. <![endif]-->
  20. </head>
  21. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  22. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  23. <!-- Include all compiled plugins (below), or include individual files as needed -->
  24. <script src="js/bootstrap.min.js"></script>
  25. <body>
  26. <header id="logoKiek">
  27. <img src="img/logoKIEK.png" />
  28. </header>
  29. <script type="text/javascript">
  30. $(document).ready(function() {
  31. $('#topLeft_animation').click(function() {
  32. $('#topLeft_slider').animate({
  33. 'marginLeft' : "-=30px" //moves left
  34. });
  35. });
  36. $('#topRight_animation').click(function() {
  37. $('#topRight_slider').animate({
  38. 'marginLeft' : "+=30px" //moves right
  39. });
  40. });
  41. $('#bottomLeft_animation').click(function() {
  42. $('#bottomLeft_slider').animate({
  43. 'marginTop' : "+=30px" //moves down
  44. });
  45. });
  46. $('#bottomRight_animation').click(function() {
  47. $('#bottomRight_slider').animate({
  48. 'marginLeft' : "-=50%",
  49. 'marginTop' : "+=50%"
  50. });
  51. });
  52. });
  53. </script>
  54. <section id="topLeft_slider"></section>
  55. <section id="topRight_slider"></section>
  56. <section id="bottomLeft_slider"></section>
  57. <section id="bottomRight_slider"><button id="bottomRight_animation">Click me</button></section>
  58. <section id="topLeft"></section>
  59. <section id="topRight"></section>
  60. <section id="bottomLeft">ejbce jenflk enefnesnf jesnfkljsenlkf nslekf </section>
  61. <section id="bottomRight">wdlhbakjbakwjdbawjkbdjabw bjwbjawb abw </section>
  62. <footer id="footerSite">copyrights etc</footer>
  63. </body>
  64. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement