Advertisement
silvercybermen

Navigation Page 01: Standing

Mar 17th, 2014
2,267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.95 KB | None | 0 0
  1. <html>
  2. <head>
  3.  
  4. <!---
  5.  
  6. Navigation Page 01: Standing by lunecerise aka blackthestrals
  7. -don't steal bits of code
  8. -don't remove/move the credit
  9. -don't use as a basecode
  10.  
  11. --->
  12.  
  13. <script type="text/javascript"
  14. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  15.  
  16. <script>
  17. $(document).ready(function() {
  18. //
  19. //When you click on a link with class of poplight and the href starts with a #
  20. $('a.poplight[href^=#]').click(function() {
  21. var popID = $(this).attr('rel'); //Get Popup Name
  22. var popURL = $(this).attr('href'); //Get Popup href to define size
  23. //Pull Query & Variables from href URL
  24. var query= popURL.split('?');
  25. var dim= query[1].split('&');
  26. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  27. //Fade in the Popup and add close button
  28. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend;
  29. //Define margin for center alignment (vertical horizontal) - we add 80px to the height/width to accomodate for the padding and border width defined in the css
  30. var popMargTop = ($('#' + popID).height() + 90) / 2;
  31. var popMargLeft = ($('#' + popID).width() + 90) / 2;
  32. //Apply Margin to Popup
  33. $('#' + popID).css({
  34. 'margin-top' : -popMargTop,
  35. 'margin-left' : -popMargLeft
  36. });
  37. //Fade in Background
  38. $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
  39. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'}) is used to fix the IE Bug on fading transparencies
  40. return false;
  41. });
  42. //Close Popups and Fade Layer
  43. $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
  44. $('#fade , .popup_block').fadeOut(function() {
  45. $('#fade, a.close').remove(); //fade them both out
  46. });
  47. return false;
  48. });
  49. });
  50. </script>
  51.  
  52. <!-- DON'T TOUCH ANYTHING HERE -->
  53.  
  54. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  55. <script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  56. <script>
  57. $(function(){
  58. var $container = $('#container');
  59. $container.imagesLoaded(function(){
  60. $container.masonry({
  61. itemSelector: '.char',
  62. });
  63. });
  64. $container.infinitescroll({
  65. itemSelector : ".char",
  66. loadingImg : "",
  67. loadingText : "<em></em>",
  68. bufferPx : 10000,
  69. extraScrollPx: 12000,
  70. },
  71. // trigger Masonry as a callback
  72. function( newElements ) {
  73. var $newElems = $( newElements ).css({ opacity: 0 });
  74. // ensure that images load before adding to masonry layout
  75. $newElems.imagesLoaded(function(){
  76. $newElems.animate({ opacity: 1 });
  77. $container.masonry( 'appended', $newElems, true );
  78. });
  79. }
  80. );
  81. });
  82. </script>
  83. <!-- jquery -->
  84. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  85. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  86. <script>
  87. (function($){
  88. $(document).ready(function(){
  89. $("[title]").style_my_tooltips({
  90. tip_follows_cursor:true,
  91. tip_delay_time:30,
  92. tip_fade_speed:300,
  93. attribute:"title"
  94. });
  95. });
  96. })(jQuery);
  97. </script>
  98.  
  99. <script type="text/javascript" src="http://static.tumblr.com/3ikgvxs/0TGl4zgpu/jquery.min.js">
  100. </script>
  101. <script type="text/javascript">
  102. $(document).ready(function(){
  103. $(".links_body").hide();
  104. $(".links_head").click(function(){
  105. $(this).next(".links_body").slideToggle('fast');
  106. }); }); </script>
  107.  
  108. <style type="text/css">
  109.  
  110. ::-webkit-scrollbar{height: 9px; width: 9px; -webkit-border-radius: 0px; background-color:#fff;}
  111. ::-webkit-scrollbar-thumb{background-color:#2dd8d0;}
  112. ::-webkit-scrollbar-track{background-color:#fff;}
  113.  
  114. *, body, a, a:hover, a:active {cursor: url(http://www.totallylayouts.com/cursors/random/tiny_cursor.png), auto;}
  115.  
  116. body {
  117. background-color:#fff; /*background color*/
  118. font-family:calibri;
  119. font-weight:normal;
  120. overflow:auto;
  121. }
  122.  
  123. a {
  124. color:#bcbcbc; /*link color*/
  125. text-decoration:none;
  126. transition-duration:0.5s;
  127. -moz-transition-duration:0.5s;
  128. -webkit-transition-duration:0.5s;
  129. -o-transition-duration:0.5s;
  130. -ms-transition-duration:0.5s;
  131. }
  132.  
  133. a:hover {
  134. color:#aaa;
  135. transition-duration:0.5s;
  136. -moz-transition-duration:0.5s;
  137. -webkit-transition-duration:0.5s;
  138. -o-transition-duration:0.5s;
  139. -ms-transition-duration:0.5s;
  140. }
  141.  
  142. h1 {
  143. font-size:15px;
  144. }
  145.  
  146. #bg {
  147. width:320px;
  148. z-index:-1;
  149. position:fixed;
  150. }
  151.  
  152. #bg img {
  153. width:350px;/*background image*/
  154. height:105%;
  155. margin-left:530px;
  156. margin-top:-15px;
  157. opacity:0.7;
  158. z-index:-1;
  159. }
  160.  
  161. .navs {
  162. width:100px; /*top circle links*/
  163. position:absolute;
  164. margin-top:75px;
  165. margin-left:655px;
  166. background-color:#fff;
  167. text-align:center;
  168. box-shadow:3px 3px #aaa;
  169. border:1px solid #f2f2f2;
  170. }
  171.  
  172. .navs a {
  173. display:inline-block;
  174. padding:5px;
  175. background-color:#fff;
  176. border-radius:100%;
  177. border:solid 2px #aaa;
  178. text-align:center;
  179. word-spacing:3px;
  180. transition-duration:0.5s;
  181. -moz-transition-duration:0.5s;
  182. -webkit-transition-duration:0.5s;
  183. -o-transition-duration:0.5s;
  184. -ms-transition-duration:0.5s;
  185. }
  186.  
  187. .navs a:hover {
  188. background-color:#aaa;
  189. border:solid 2px #fff;
  190. transition-duration:0.5s;
  191. -moz-transition-duration:0.5s;
  192. -webkit-transition-duration:0.5s;
  193. -o-transition-duration:0.5s;
  194. -ms-transition-duration:0.5s;
  195. }
  196.  
  197. .links_head {
  198. text-align:center;
  199. cursor: url(http://www.totallylayouts.com/cursors/random/tiny_cursor.png); display:block;
  200. padding:5px;
  201. border:1px solid #f0f0f0;
  202. font-family: calibri;
  203. font-size:10px;
  204. width:180px;
  205. letter-spacing:2px;
  206. background-color:white;
  207. margin:2px 0;
  208. text-transform:uppercase;
  209. color:#777777;
  210. transition: all 0.3s ease-out;
  211. -o-transition: all 0.3s ease-out;
  212. -webkit-transition: all 0.3s ease-out;
  213. -moz-transition: all 0.3s ease-out;
  214. }
  215.  
  216. .links_head:hover {
  217. letter-spacing:3px;
  218. transition: all 0.3s ease-out;
  219. -o-transition: all 0.3s ease-out;
  220. -webkit-transition: all 0.3s ease-out;
  221. -moz-transition: all 0.3s ease-out;
  222. }
  223.  
  224. .links_body {
  225. text-align:center;
  226. padding:2px;
  227. }
  228.  
  229. .links_body a {
  230. display:block;
  231. padding:2px;
  232. background-color:#fff;
  233. border:solid 1px #f2f2f2;
  234. width:177px;
  235. margin:2px 2px 2px 3px;
  236. text-transform:uppercase;
  237. }
  238.  
  239. #title {
  240. width:110px;
  241. padding:20px;
  242. font-size:20px;
  243. text-transform:uppercase;
  244. margin-top:100px;
  245. margin-left:625px;
  246. background-color:#fff;
  247. box-shadow:5px 5px #aaa;
  248. text-align:center;
  249. color:#000;
  250. border:solid 1px #f2f2f2;
  251. z-index:10000000;
  252. position:absolute;
  253. }
  254.  
  255. .retroshadow {
  256. color: #2c2c2c;
  257. background-color: #d5d5d5;
  258. letter-spacing: .05em;
  259. text-shadow:
  260. 4px 4px 0px #d5d5d5,
  261. 5px 5px 0px rgba(0, 0, 0, 0.2);
  262. }
  263.  
  264. .container {
  265. width:900px;
  266. margin-top:170px;
  267. margin-left:275px;
  268. position:absolute;
  269. }
  270.  
  271. #link1 {
  272. display:block;
  273. float:left;
  274. margin:10px;
  275. }
  276.  
  277. #link2 {
  278. display:block;
  279. float:left;
  280. margin:10px;
  281. }
  282.  
  283. #s-m-t-tooltip {
  284. max-width:300px;
  285. padding:1px 4px;
  286. margin:20px 0px 0px 20px;
  287. height:auto;
  288. background-color:#2dd8d0; /*tooltip color*/
  289. font-family:calibri;
  290. font-size:9px;
  291. letter-spacing:1px;
  292. text-transform:uppercase;
  293. color:#fff;
  294. z-index:999999999999999999999999999999999999;
  295. }
  296.  
  297. .popup_block {
  298. display: none;
  299. padding-top: 20px;
  300. padding-bottom: 20px;
  301. padding-left: 40px;
  302. padding-right: 40px;
  303. float:left;
  304. position: fixed;
  305. top: 50%;
  306. left: 50%;
  307. color:#fff;
  308. background-color:#2dd8d0;/*background color of ask popup*/
  309. font-family:helvetica;
  310. text-align:center;
  311. line-height:15px;
  312. font-size:12px;
  313. max-height:400px;
  314. width:200px;
  315. overflow:scroll;
  316. z-index: 9999999999999999999999999999999999999999;
  317. }
  318.  
  319. .popup_block a{
  320. color:#000;
  321. transition: all 0.3s ease-out;
  322. -o-transition: all 0.3s ease-out;
  323. -webkit-transition: all 0.3s ease-out;
  324. -moz-transition: all 0.3s ease-out;
  325. }
  326.  
  327. .popup_block a:hover {
  328. color:#bcbcbc;
  329. transition: all 0.3s ease-out;
  330. -o-transition: all 0.3s ease-out;
  331. -webkit-transition: all 0.3s ease-out;
  332. -moz-transition: all 0.3s ease-out;
  333. }
  334.  
  335. *html #fade {
  336. position: absolute;
  337. }
  338.  
  339. *html .popup_block {
  340. position: absolute;
  341. }
  342.  
  343. #fade {
  344. display: none; /*--hidden by default--*/
  345. position: fixed; left: 0; top: 0; width: 100%; height: 100%;
  346. opacity: .8;
  347. z-index: 9999;
  348. }
  349.  
  350. /*yo don't touch this*/
  351.  
  352. #credit, #credit a {
  353. position:fixed;
  354. bottom:2px;
  355. right:4px;
  356. padding:3px;
  357. font-family: 'Alegreya Sans SC', sans-serif;
  358. text-transform:uppercase;
  359. color:#fff;
  360. font-size:10px;
  361. width:15px;
  362. height:13px;
  363. background-color:#000;
  364. -moz-transition-duration:0.3s;
  365. -webkit-transition-duration:0.3s;
  366. -o-transition-duration:0.3s;
  367. -ms-transition-duration:0.3s;
  368. }
  369.  
  370. #credit:hover, #credit a:hover {
  371. font-family: 'Alegreya Sans SC', sans-serif;
  372. color:#000;
  373. background-color:#fff;
  374. text-shadow:#aaa 2px 2px;
  375. -moz-transition-duration:0.4s;
  376. -webkit-transition-duration:0.4s;
  377. -o-transition-duration:0.4s;
  378. -ms-transition-duration:0.4s;
  379. }
  380.  
  381. </style>
  382. </head>
  383. <body>
  384.  
  385. <div id="bg"><!--- BACKGROUND IMAGE; YOU CAN UPLOAD ONE TO http://www.tumblr.com/themes/upload_static_file AND PASTE THE LINK BETWEEN THE QUOTATION MARKS---><img src="http://25.media.tumblr.com/1e8d83f850085ccffe43b4b412cbb160/tumblr_n2gcl3hOPj1rf1vfdo1_1280.jpg"></div>
  386. <div class="navs">
  387. <!--- some links for you --->
  388. <a href="/" title="home"></a>
  389. <!--- THIS IS THE LINK TO THE POPUP ASK; IF YOU DON'T WANT IT, JUST DELETE IT ["#?w=500" rel="popup_name" class="poplight"] AND REPLACE IT WITH [href="URL"] --->
  390. <a href="#?w=500" rel="popup_name" class="poplight" title="mail"></a>
  391. <a href="/" title="oncoming" ></a>
  392. <a href="/" title="storm" ></a>
  393. </div>
  394. <div id="title" class="retroshadow">navigation</div>
  395. </div>
  396. <div class="container">
  397. <div id="link1">
  398. <p class="links_head"><!--- THESE ARE THE TITLES OF THE THINGS YOU CLICK TO MAKE THE LINKS SHOW UP ---> SOMETHING</p>
  399. <div class="links_body">
  400. <!--- ACTUAL LINKS; AS MANY AS YOU WANT --->
  401. <a href="/">01.</a>
  402. <a href="/">02.</a>
  403. </div>
  404. </div>
  405. <div id="link2">
  406. <p class="links_head"><!--- LINK CATEGORY TITLE ---> magic</p>
  407. <div class="links_body">
  408. <!--- ACTUAL LINKS --->
  409. <a href="/">02.</a>
  410. </div>
  411. </div>
  412. <div id="link1">
  413. <p class="links_head"><!--- LINK CATEGORY TITLE --->SOMETHING</p>
  414. <div class="links_body">
  415. <!--- ACTUAL LINKS --->
  416. <a href="/">01.</a>
  417. </div>
  418. </div>
  419. <div id="link2">
  420. <p class="links_head"><!--- LINK CATEGORY TITLE --->magic</p>
  421. <div class="links_body">
  422. <!--- ACTUAL LINKS --->
  423. <a href="/">02.</a>
  424. </div>
  425. </div>
  426. </div>
  427.  
  428. <div id="popup_name" class="popup_block"><div style="font-size:20px; text-transform:uppercase; border-bottom:1px solid #fff; padding-bottom:3px"><img src="http://static.tumblr.com/vmteopo/35On2i0pw/email_2.png" style="height:20px"> FAQ <img src="http://static.tumblr.com/vmteopo/35On2i0pw/email_2.png" style="height:20px"></div><br>
  429. <!--- FAQ stuff; PUT ALL OF YOUR FAQs HERE; WRAP QUESTIONS IN <h1> AND ANSWERS IN <p> --->
  430. <h1>ayy</h1>
  431. <p>what</p>
  432. <h1>Question?</h1>
  433. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam nisi lorem, pulvinar id, commodo feugiat, vehicula et, mauris. Aliquam mattis porta urna. Maecenas dui neque, rhoncus sed, vehicula vitae, auctor at, nisi. Aenean id massa ut lacus molestie porta. Curabitur sit amet quam id libero suscipit venenatis.</p>
  434. <h1>Where did the party go?</h1><p>
  435. Lorem ipsum dolor sit amet.
  436. Consectetuer adipiscing elit.
  437. Nam at tortor quis ipsum tempor aliquet.
  438. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Suspendisse sed ligula. Sed volutpat odio non turpis gravida luctus. Praesent elit pede, iaculis facilisis, vehicula mattis, tempus non, arcu.</p>
  439. <h1>Far Too Young To Die</h1>
  440. <p>
  441. Donec placerat mauris commodo dolor. Nulla tincidunt. Nulla vitae augue.
  442. Suspendisse ac pede. Cras tincidunt pretium felis. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque porttitor mi id felis. Maecenas nec augue. Praesent a quam pretium leo congue accumsan.</p>
  443. <br>
  444. <iframe style=frameborder="0" id="ask_form" height="190" width="440"scrolling="yes" src="http://www.tumblr.com/ask_form/YOURURL.tumblr.com" ></iframe>
  445. </div> <!--- AY YOU HAVE TO REPLACE "YOURURL" WITH YOUR ACTUAL URL OKAY --->
  446.  
  447. <div id="credit"><a href="http://lunecerise.tumblr.com" title="lunecerise">LC</a></div>
  448.  
  449. </body>
  450. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement