Advertisement
Guest User

Untitled

a guest
Sep 25th, 2012
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.45 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,chrome=1">
  6. <title>SlyFiles</title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <meta name="description" content="SlyFiles upload" />
  9. <link rel="stylesheet" href="css/style.css" type="text/css" media="screen"/>
  10. <link rel="stylesheet" href="css/bootstrap.css" type="text/css" media="screen"/>
  11. <link href='http://fonts.googleapis.com/css?family=Dosis' rel='stylesheet' type='text/css'><link rel="stylesheet" href="css/flexslider.css" type="text/css"><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script><script src="js/jquery.flexslider.js"></script><!-- Place in the <head>, after the three links --><script type="text/javascript" charset="utf-8">$(window).load(function() { $('.flexslider').flexslider({ animation: "slide" });});</script>
  12. <link rel="stylesheet" href="flexslider.css" type="text/css">
  13. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  14. <script src="js/jquery.flexslider.js"></script>
  15. <script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
  16. <script type="text/javascript" src="js/jquery.lavalamp-1.4.js"></script>
  17. <script type="text/javascript" src="js/bootstrap.min.js"></script>
  18. <script type="text/javascript">
  19. // Can also be used with $(document).ready()
  20. $(window).load(function() {
  21. $('.flexslider').flexslider({
  22. animation: "slide"
  23. });
  24. });
  25. </script>
  26. </head>
  27. <header>
  28. <div class="header">
  29. <div class="container">
  30. <div class="menu">
  31. <ul>
  32. <li class="current"><img src="img/home.png"/><span style="vertical-align: middle; margin-left: 5px;">Home</span></li>
  33. <li><img src="img/twitter.png"/><span style="pical-align: middle; margin-left: 5px;">Twitter</span></li>
  34. <li><img src="img/fb.png"/><span style="vertical-align: middle; margin-left: 5px;">Facebook</span></li>
  35. <li><img src="img/contact.png"/><span style="vertical-align: middle; margin-left: 5px;">Contact</li>
  36. </ul>
  37. </div>
  38. </div>
  39. </div>
  40. <div id="borderbottom"></div>
  41. </header>
  42. <body>
  43. </body>
  44. </html>
  45.  
  46.  
  47. THE CSS
  48. ----------------------------------------
  49.  
  50.  
  51. .header {
  52. height: 42px;
  53. width: 100%;
  54. background: #1d1d1d;
  55. }
  56.  
  57. #borderbottom {
  58. width: 100%;
  59. height: 12px;
  60. background-image: url("../img/border.png");
  61. background-repeat: repeat-x;
  62. }
  63.  
  64. .menu {
  65. margin-top: -15px;
  66. }
  67. .menu li {
  68. display: inline;
  69. margin: 10px;
  70. float: left;
  71. color: #fff;
  72. }
  73.  
  74. .current {
  75. background-image: url("../img/current.png");
  76. width: 84px;
  77. height: 54px;
  78. }
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85. .flex-container a:active,
  86. .flexslider a:active,
  87. .flex-container a:focus,
  88. .flexslider a:focus {outline: none;}
  89. .slides,
  90. .flex-control-nav,
  91. .flex-direction-nav {margin: 0; padding: 0; list-style: none;}
  92.  
  93. /* FlexSlider Necessary Styles
  94. *********************************/
  95. .flexslider {margin: 0; padding: 0;}
  96. .flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
  97. .flexslider .slides img {width: 100%; display: block;}
  98. .flex-pauseplay span {text-transform: capitalize;}
  99.  
  100. /* Clearfix for the .slides element */
  101. .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
  102. html[xmlns] .slides {display: block;}
  103. * html .slides {height: 1%;}
  104.  
  105. /* No JavaScript Fallback */
  106. /* If you are not using another script, such as Modernizr, make sure you
  107. * include js that eliminates this class on page load */
  108. .no-js .slides > li:first-child {display: block;}
  109.  
  110.  
  111. /* FlexSlider Default Theme
  112. *********************************/
  113. .flexslider {margin: 0 0 60px; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1;}
  114. .flex-viewport {max-height: 258px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
  115. .loading .flex-viewport {max-height: 300px;}
  116. .flexslider .slides {zoom: 1;}
  117.  
  118. .carousel li {margin-right: 5px}
  119.  
  120.  
  121. /* Direction Nav */
  122. .flex-direction-nav {*height: 0;}
  123. .flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(images/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
  124. .flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
  125. .flex-direction-nav .flex-prev {left: -36px;}
  126. .flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
  127. .flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
  128. .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
  129. .flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}
  130.  
  131. /* Control Nav */
  132. .flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
  133. .flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
  134. .flex-control-paging li a {
  135. width: 11px;
  136. height: 11px;
  137. display: block;
  138. background: #fff;
  139. cursor: pointer;
  140. text-indent: -9999px;
  141. -webkit-border-radius: 20px;
  142. -moz-border-radius: 20px;
  143. -o-border-radius: 20px;
  144. border-radius: 20px;
  145. box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
  146. }
  147.  
  148. .flex-control-paging li a:hover {
  149. background: #009ec3; /* Old browsers */
  150. background: -moz-linear-gradient(top, #009ec3 0%, #00aad9 100%); /* FF3.6+ */
  151. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#009ec3), color-stop(100%,#00aad9)); /* Chrome,Safari4+ */
  152. background: -webkit-linear-gradient(top, #009ec3 0%,#00aad9 100%); /* Chrome10+,Safari5.1+ */
  153. background: -o-linear-gradient(top, #009ec3 0%,#00aad9 100%); /* Opera 11.10+ */
  154. background: -ms-linear-gradient(top, #009ec3 0%,#00aad9 100%); /* IE10+ */
  155. background: linear-gradient(to bottom, #009ec3 0%,#00aad9 100%); /* W3C */
  156. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009ec3', endColorstr='#00aad9',GradientType=0 ); /* IE6-9 */
  157.  
  158. }
  159. .flex-control-paging li a.flex-active {
  160. background: #009ec3; /* Old browsers */
  161. background: -moz-linear-gradient(top, #009ec3 0%, #00aad9 100%); /* FF3.6+ */
  162. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#009ec3), color-stop(100%,#00aad9)); /* Chrome,Safari4+ */
  163. background: -webkit-linear-gradient(top, #009ec3 0%,#00aad9 100%); /* Chrome10+,Safari5.1+ */
  164. background: -o-linear-gradient(top, #009ec3 0%,#00aad9 100%); /* Opera 11.10+ */
  165. background: -ms-linear-gradient(top, #009ec3 0%,#00aad9 100%); /* IE10+ */
  166. background: linear-gradient(to bottom, #009ec3 0%,#00aad9 100%); /* W3C */
  167. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009ec3', endColorstr='#00aad9',GradientType=0 ); /* IE6-9 */
  168.  
  169. cursor: default;
  170. }
  171.  
  172. .flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
  173. .flex-control-thumbs li {width: 25%; float: left; margin: 0;}
  174. .flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
  175. .flex-control-thumbs img:hover {opacity: 1;}
  176. .flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
  177.  
  178. @media screen and (max-width: 860px) {
  179. .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  180. .flex-direction-nav .flex-next {opacity: 1; right: 0;}
  181. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement