Advertisement
teenageblog

Ocean Theme

Jul 24th, 2013
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.93 KB | None | 0 0
  1. <!-----------------------------------------
  2. ╭━━━┳╮╱╱╱╱╱╱╱╱╱╱╭╮╱╭━━━━┳╮
  3. ┃╭━╮┃┃╱╱╱╱╱╱╱╱╱╱┃┃╱┃╭╮╭╮┃┃
  4. ┃┃╱╰┫╰━┳━━┳━╮╭━━┫┃╱╰╯┃┃╰┫╰━┳━━┳╮╭┳━━┳━━╮
  5. ┃┃╱╭┫╭╮┃╭╮┃╭╮┫┃━┫┃╱╱╱┃┃╱┃╭╮┃┃━┫╰╯┃┃━┫━━┫
  6. ┃╰━╯┃┃┃┃╭╮┃┃┃┃┃━┫╰╮╱╱┃┃╱┃┃┃┃┃━┫┃┃┃┃━╋━━┃
  7. ╰━━━┻╯╰┻╯╰┻╯╰┻━━┻━╯╱╱╰╯╱╰╯╰┻━━┻┻┻┻━━┻━━╯
  8.  
  9. Please keep credit (✿◠‿◠)
  10. Change posts to 15
  11. Go to customize > scroll to the bottom > click advanced > change posts per page to 15
  12. ----------------------------------------------->
  13.  
  14. <html lang="en">
  15. <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  16. <html xmlns="http://www.w3.org/1999/xhtml">
  17. <script type="text/javascript"
  18. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  19.  
  20. <head>
  21. <!-- DEFAULT VARIABLES -->
  22. <title>{Title}</title>
  23. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  24. <meta name="color:Background" content="#fff"/>
  25. <meta name="color:Blogtitle" content="#000"/>
  26. <meta name="color:Text" content="#000"/>
  27. <meta name="color:Permalink Text" content="#fff"/>
  28. <meta name="color:Permalink Bg" content="#828282"/>
  29. <meta name="color:Permalink Shadow" content="#282828"/>
  30. <meta name="color:Link" content="#000"/>
  31. <meta name="color:Title" content="#000"/>
  32. <meta name="color:Hover" content="#000"/>
  33. <meta name="color:Scrollbar" content="#ccc"/>
  34.  
  35. <meta name="if:Use Banner" content="0">
  36. <meta name="if:Topbutton" content="1"/>
  37. <meta name="if:Show blog title" content="1"/>
  38. <meta name="if:SmallCursor" content="0"/>
  39. <meta name="if:Six Columns" content="0"/>
  40. <meta name="if:Five Columns" content="1"/>
  41. <meta name="if:Four Columns" content="0"/>
  42. <meta name="if:Title Font 1" content="1"/>
  43. <meta name="if:Title Font 2" content="0"/>
  44. <meta name="if:Title Font 3" content="0"/>
  45. <meta name="if:Title Font 4" content="0"/>
  46.  
  47. <meta name="image:Banner" content="">
  48. <meta name="image:Background" content="0"/>
  49.  
  50. <meta name="text:Link One Title" content="link 1" />
  51. <meta name="text:Link One" content="" />
  52. <meta name="text:Link Two Title" content="link 2" />
  53. <meta name="text:Link Two" content="" />
  54. <meta name="text:Link Three Title" content="link 3" />
  55. <meta name="text:Link Three" content="" />
  56. <meta name="text:Link Four Title" content="link 4" />
  57. <meta name="text:Link Four" content="" />
  58. <meta name="text:Link Five Title" content="link 5" />
  59. <meta name="text:Link Five" content="" />
  60. <meta name="text:Link Six Title" content="link 6" />
  61. <meta name="text:Link Six" content="" />
  62.  
  63.  
  64.  
  65. <style type="text/css">
  66. #toTop {
  67. text-align:center;
  68. padding:5px;
  69. position:fixed;
  70. bottom:10px;
  71. right:10px;
  72. cursor:pointer;
  73. display:none;
  74. color:#000;
  75. z-index: 99999999999999999999;
  76. font-size:10px;
  77. }
  78.  
  79. {block:ifsmallcursor}body, a:hover {cursor: url(http://i.imgur.com/ZOrzC.png), progress !important;} a:hover {cursor: url(http://cur.cursors-4u.net/others/oth-6/oth589.cur), progress !important;}{/block:ifsmallcursor}
  80. :-webkit-scrollbar {width: 6px; height: 4px; background: {color:Background}; }
  81.  
  82. ::-webkit-scrollbar-thumb { background-color: {color:Scrollbar};}
  83.  
  84. iframe#tumblr_controls {right:3px !important; position: fixed !important;-webkit-transition: opacity 0.7s linear;opacity: 0.2;-webkit-transition: all 0.8s ease-out;-moz-transition: all 0.8s ease-out;transition: all 0.8s ease-out;}
  85.  
  86. iframe#tumblr_controls:hover{-webkit-transition: opacity 0.7s linear;opacity: 1;-webkit-transition: all 0.4s ease-out;-moz-transition: all 0.4s ease-out;transition: all 0.4s ease-out;}
  87.  
  88.  
  89.  
  90.  
  91. @font-face { font-family: "ronda"; src: url'http://static.tumblr.com/rmj06l2/kcLlo1q2y/pf_ronda_seven.ttf'); }
  92.  
  93.  
  94. .wrapper{
  95. margin: 0px auto;
  96. margin-left: 60px;
  97. width: 1045px;
  98. }
  99.  
  100. .header{
  101. float: left;
  102. width: 100%;
  103. }
  104.  
  105. .left{
  106. float: left;
  107. margin-right: 20px;
  108. width:1045;
  109. }
  110.  
  111. .right{
  112. float: right;
  113. width: 200px;
  114. background-color: #fff;
  115. }
  116.  
  117.  
  118. body {
  119. margin:0px;
  120. background-color: {color:Background};
  121. background-image:url({image:Background});
  122. background-attachment: fixed;
  123. background-repeat: repeat;}
  124. body, div, p, textarea, submit, input{
  125. font-family: 'Ubuntu', sans-serif;
  126. font-size: 11px;
  127. line-height:14px;
  128. letter-spacing:1px;
  129. color:{color:Text};
  130. }
  131.  
  132. ::-webkit-scrollbar {width: 6px; height: 4px; background: #FFFFFF; border-left:0px solid #aaa; }
  133.  
  134. ::-webkit-scrollbar-thumb { background-color: {color:scrollbar}; border: 0px solid #eee; border-radius:40px;}
  135.  
  136.  
  137. p {
  138. margin:0px;
  139. margin-top:0px;
  140. }
  141.  
  142. a:link, a:active, a:visited{
  143. text-decoration: none;
  144. -webkit-transition: color 0.3s ease-out;
  145. -moz-transition: color 0.3s ease-out;
  146. transition: color 0.3s ease-out;
  147. color: {color:Link};
  148. }
  149.  
  150. a:hover {
  151. text-decoration: line-through;
  152. font-style:;
  153. color: {color:Hover};
  154. }
  155.  
  156.  
  157. #mainRight {
  158. width:100%;
  159. margin:0;
  160. padding-bottom:20px;
  161. text-align:center;
  162. }
  163.  
  164. #holder {
  165. width:100%;
  166. }
  167.  
  168.  
  169.  
  170. div#center{
  171. margin:auto;
  172. margin-top:0px;
  173. position:relative;
  174. width:1045px;
  175. background-color:;
  176. overflow:auto;
  177. overflow-y:hidden;
  178. }
  179. #navigation a{
  180. text-align:center;
  181. height:40px;
  182. line-height:40px;
  183. font-family:calibri;
  184. font-size:15px;
  185. font-style:normal;
  186. padding:20px;
  187. }
  188.  
  189.  
  190. #navigation{
  191. position:static;
  192. background-color:{color:background};
  193. width:1365px;
  194. height:40px;
  195. text-align:center;
  196. z-index:999;
  197. margin-top:0px;
  198. margin-left:0%;
  199. border-bottom:1px solid #ccc;
  200. }
  201.  
  202.  
  203. .entry {
  204. float:left;
  205. display: block;
  206. overflow:hidden;
  207. width:100%;
  208. padding:1px;
  209. margin:4px;
  210. transition: all 0.5s ease-out;
  211. -o-transition-transition: all 0.5s ease-out;
  212. -webkit-transition: all 0.5s ease-out;
  213. -moz-transition: all 0.5s ease-out;
  214. {block:ifsixcolumns}
  215. width:210px
  216. {/block:ifsixcolumns}
  217. {block:iffivecolumns}
  218. width:250px;
  219. {/block:iffivecolumns}
  220. {block:iffourcolumns}
  221. width:305px;
  222. {/block:iffourcolumns}
  223. {block:PermalinkPage}
  224. width:520px;
  225. margin-left:0px;
  226. text-align:center;
  227. {/block:PermalinkPage}
  228. }
  229.  
  230. .entry .perma {
  231. z-index:9;opacity:.0;
  232. position: absolute;
  233. border-radius:4px;
  234. box-shadow: inset 0 0 6px {color:permalink shadow};
  235. background:{color:permalink bg};
  236. left:10px;
  237. bottom:-10px;
  238. height:24px;
  239. padding-top:4px;
  240. padding-left:8px;
  241. width:28px;
  242. -webkit-transition-duration: 0.5s;}
  243.  
  244. .entry:hover .perma {
  245. bottom:10px;
  246. opacity:.8;
  247. -webkit-transition-duration: 0.5s;
  248. -webkit-transition: all .8s ease;
  249. -moz-transition: all .8s ease;
  250. -o-transition: all .8s ease;
  251. transition: all .8s ease;}
  252.  
  253. .entry .perma2 {
  254. z-index:9;opacity:.0;
  255. position: absolute;
  256. border-radius:4px;
  257. box-shadow: inset 0 0 6px {color:permalink shadow};
  258. background:{color:permalink bg};
  259. right:10px;
  260. bottom:-10px;
  261. height:24px;
  262. padding-top:4px;
  263. padding-left:6px;
  264. padding-right:6px;
  265. width:auto;
  266. -webkit-transition-duration: 0.5s;}
  267.  
  268. .entry:hover .perma2 {
  269. bottom:10px;
  270. opacity:.8;
  271. -webkit-transition-duration: 0.5s;
  272. -webkit-transition: all .8s ease;
  273. -moz-transition: all .8s ease;
  274. -o-transition: all .8s ease;
  275. transition: all .8s ease;}
  276.  
  277. .perma2 a {
  278. font-family:calibri;
  279. line-height:20px;
  280. text-transform:none;
  281. letter-spacing:1px;
  282. font-size:15px;
  283. color:{color:permalink text};}
  284.  
  285.  
  286. @font-face { font-family: "just realize"; src: url('http://static.tumblr.com/sghs9ih/2tFlu5il8/justrealize.ttf'); }
  287. .title{
  288. font-family: "Just realize";
  289. font-size: 22px;
  290. line-height: 20px;
  291. color: {color:Title};
  292. text-shadow:1px 2px 2px #aaa;
  293. letter-spacing: 1px;
  294. font-weight: normal;
  295. }
  296.  
  297.  
  298.  
  299. @font-face {font-family:"Pacifico"; src:url('http://static.tumblr.com/9wzbixa/D3Wlyw7u4/pacifico.ttf');}
  300.  
  301.  
  302. @font-face {font-family:"Tabitha"; src:url('http://static.tumblr.com/9wzbixa/UvZm26lrw/tabitha.ttf');}
  303. @font-face{
  304. font-family:jane;
  305. src: url('http://static.tumblr.com/bm7b8hm/vnWmf9864/janeaust.ttf');,}
  306. .blogtitle {
  307. text-align:center;
  308. color:{color:Blogtitle};
  309. {Block:IfTitleFont1}font-family: 'Just realize' !important;{/Block:IfTitleFont1}
  310. {Block:IfTitleFont2}font-family: 'Pacifico' !important;{/Block:IfTitleFont2}
  311. {Block:IfTitleFont3}font-family: 'Jane' !important;{/Block:IfTitleFont3}
  312. {Block:IfTitleFont4}font-family: 'Tabitha' !important;{/Block:IfTitleFont4}
  313. padding-bottom:30px;
  314. font-size:50px;
  315. padding-top:30px;
  316. line-height:50px;}
  317.  
  318.  
  319.  
  320. #posts {
  321. width:1400px;
  322. margin-top: 5px;
  323. margin-left: -35px;
  324. margin-right: auto;
  325. position:relative;
  326. overflow-y: hidden;
  327. {block:iffourcolumns}
  328. margin-left:-10px;
  329. {/block:iffourcolumns}
  330. }
  331. .answer{
  332. margin:0px;}
  333.  
  334. #audio {width:250px; height:auto; min-height:60px; padding-bottom:0px;}
  335. .cover {position:absolute; z-index:1; width:60px; height:60px;}
  336. .cover img {float:left; width:60px; height:60px;}
  337. .playbox {opacity:0.6; width:27px; height:30px; overflow:hidden; position:absolute; z-index:1000; margin-left:17px; margin-top:17px; text-align:center;}
  338. .info {margin-left:73px; margin-top:4px; line-height:14px;}
  339. @font-face {font-family:'conjuntar6';src: url('http://static.tumblr.com/qzpui9z/NEpmiosej/conjuntar6.ttf');}
  340. .flb {margin:4px 5px 4px 5px;}
  341. .flb:first-letter {font-family: 'conjuntar6'; font-size:15px;font-style:normal;}
  342. .cory{
  343. display: block;
  344. font-size: 11px;
  345. font-family: Calibri;
  346. text-transform: uppercase;
  347. color: #000;
  348. background-color:transparent;
  349. text-align: right;
  350. line-height: 18px;
  351. -webkit-transition: opacity 0.5s linear;-webkit-transition: all 0.5s ease-in-out;-moz-transition: all 0.5s ease-in-out;-o-transition: all 0.5s ease-in-out;
  352. }
  353. .right{
  354. float: right;
  355. width: 200px;
  356. background-color: transparent;
  357. }
  358.  
  359. #infscr-loading{
  360. bottom: -70px;
  361. position: absolute;
  362. left: 50%;
  363. margin-left:-8px;
  364. width:16px;
  365. height:11px;
  366. overflow:hidden;
  367. margin-bottom: 50px;
  368. }
  369.  
  370. #postnotes{
  371. text-align: justify;
  372. }
  373.  
  374. #postnotes blockquote{
  375. border: 0px;
  376. }
  377.  
  378. blockquote{
  379. padding:0px 0px 2px 5px;
  380. margin:0px 0px 2px 1px;
  381. border-left: 1px dotted {color:Text};
  382. }
  383.  
  384. blockquote p, ul{
  385. margin:0px;
  386. padding:0px;
  387. }
  388.  
  389. a img{border: 0px;}
  390. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  391. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  392. .user_7 .label, .user_8 .label, .user_9 .label {color:{color:Title};}
  393. .notes img{width:10px; position:relative; top:3px;
  394. }
  395.  
  396. small{font-size: 90%;}
  397.  
  398. .video embed, .post div.video object {width:260px !important; height:180px !important;}
  399. .video2 embed, .post div.video object {width:400px !important; height:400px !important;}
  400.  
  401. {CustomCSS}
  402.  
  403. </style>
  404. <script>
  405. window.onload = function () {
  406. document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-like-frame" style="display:none;"></iframe>' );
  407. document.addEventListener( 'click', function ( event ) {
  408. var myLikeLink = event.target;
  409. if( myLikeLink.className.indexOf( 'my-like' ) > -1 ) {
  410. var myLikeFrame = document.getElementById( 'my-like-frame' ),
  411. liked = ( myLikeLink.className == 'my-liked' ),
  412. command = liked ? 'unlike' : 'like',
  413. reblog = myLikeLink.getAttribute( 'data-reblog' ),
  414. postId = myLikeLink.getAttribute( 'data-id' ),
  415. oauth = reblog.slice( -8 ),
  416. likeUrl = 'http://tumblr.com/' + command + '/' + oauth + '?id=' + postId;
  417. myLikeFrame.src = likeUrl;
  418. liked ? myLikeLink.className = 'my-like'
  419. : myLikeLink.className = 'my-liked';
  420. };
  421. }, false );
  422. };
  423. </script>
  424. {block:IndexPage}
  425.  
  426. <script type="text/javascript">
  427. $(function(){ // document ready
  428. if (!!$('#navigation').offset()) { // make sure ".sticky" element exists
  429. var stickyTop = $('#navigation').offset().top; // returns number
  430. $(window).scroll(function(){ // scroll event
  431. var windowTop = $(window).scrollTop(); // returns number
  432. if (stickyTop < windowTop){
  433. $('#navigation').css({ position: 'fixed', top: 0 });
  434. }
  435. else {
  436. $('#navigation').css('position','static');
  437. }
  438. });
  439. }
  440. });
  441. </script>
  442. <script type='text/javascript' src='http://static.tumblr.com/m52lhg5/u9amoiddc/infinite.js'></script>
  443. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  444. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  445.  
  446. <script type="text/javascript">
  447. $(window).load(function () {
  448. var $content = $('#posts');
  449. $content.masonry({itemSelector: '.entry'}),
  450. $content.infinitescroll({
  451. navSelector : 'div#pagination',
  452. nextSelector : 'div#pagination a#nextPage',
  453. itemSelector : '.entry',
  454. loading: {
  455. finishedMsg: '',
  456. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  457. },
  458. bufferPx : 600,
  459. debug : false,
  460. },
  461. // call masonry as a callback.
  462. function( newElements ) {
  463. var $newElems = $( newElements );
  464. $newElems.hide();
  465. // ensure that images load before adding to masonry layout
  466. $newElems.imagesLoaded(function(){
  467. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );
  468.  
  469.  
  470. });
  471. });
  472. });
  473. </script>
  474. {/block:IndexPage}
  475.  
  476.  
  477. <title>{Title}</title>
  478. <link rel="shortcut icon" href="{Favicon}">
  479. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  480. <meta name="viewport" content="width=820" />
  481. </head>
  482.  
  483. <body>
  484. </style>
  485. {block:ifTopButton}<div id="toTop"><img src="http://media.tumblr.com/tumblr_lw4i8ijjPt1r43b17.png" /></div>{/block:ifTopButton}
  486. <div id="mainRight">
  487. {block:ifusebanner}<center><a href="/"><img style="max-width:1500px; max-height:300px" src="{image:banner}"/></center></a>{/block:ifusebanner}
  488. {block:ifshowblogtitle}<div class="blogtitle">{Title}</a></div>{/block:ifshowblogtitle}
  489. {description}
  490.  
  491. <div id="navigation">
  492. <a href="/" title="refresh">refresh</a>
  493. <a href="/ask" title="message">message</a>
  494. <a href="http://teenageblog.tumblr.com" title="theme">theme</a>
  495. <a href="{text:Link One}" title="{text:Link One Title}">{text:Link One Title}</a>
  496. <a href="{text:Link Two}" title="{text:Link Two Title}">{text:Link Two Title}</a>
  497. <a href="{text:Link Three}" title="{text:Link Three Title}">{text:Link Three Title}</a>
  498. <a href="{text:Link Four}" title="{text:Link Four Title}">{text:Link Four Title}</a>
  499.  
  500. <a href="{text:Link Five}" title="{text:Link Five Title}">{text:Link Five Title}</a>
  501.  
  502. <a href="{text:Link Six}" title="{text:Link Six Title}">{text:Link Six Title}</a>
  503. </div>
  504. <div class="wrapper">
  505. <div class="header">
  506. </div>
  507.  
  508.  
  509.  
  510. <div class="left">
  511. <div id="posts">
  512. {block:Posts}
  513. <div class="entry">
  514.  
  515. {block:Photo}
  516. {block:IndexPage}
  517. <div class="perma">
  518. <a href="{ReblogUrl}" target="blank">{ReblogButton color="white" target="blank"}</a></div>
  519.  
  520. <div class="perma2"><a href="{Permalink}">{NoteCount}</a></div>
  521.  
  522. <a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width="100%"></a>
  523.  
  524. {/block:IndexPage}
  525.  
  526. {block:PermalinkPage}
  527. <div align="center">{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" width="500px">{LinkCloseTag}</div>
  528. {/block:PermalinkPage}
  529.  
  530. {/block:Photo}
  531.  
  532.  
  533. {block:Answer}
  534. <div style="border:1px #bbb dotted; border-radius:4px; padding:3px;"><div class="ask"><b style="text-transform:uppercase;">{Asker}:</b> {Question}</div></div>
  535. <div class="answer">{Answer}</div>
  536. {block:IndexPage}
  537. <div class="cory"><a href="{Permalink}" title="permalink">Posted {TimeAgo} with {NoteCount} Notes</a></div>
  538. {/block:IndexPage}
  539. {/block:Answer}
  540.  
  541. {block:Text}
  542. {block:Title}<a href="{permalink}" title="permalink"><div class="title">{title}</div></a> {/block:Title}
  543. <div class="flb">{Body}</div>
  544. {block:IndexPage}<div class="cory"><a href="{Permalink}">Posted {TimeAgo} with {NoteCount} Notes</a></div>{/block:IndexPage}
  545. {/block:Text}
  546.  
  547. {block:Link}
  548. <div class="title"><a href="{URL}"{Target}>{Name}</a></div>
  549. {block:Description}<div class="flb">{Description}</div>{/block:Description}
  550. {block:IndexPage}<div class="cory"><a href="{Permalink}" title="permalink">Posted {TimeAgo} with {NoteCount} Notes</a></div>{/block:IndexPage}
  551. {/block:Link}
  552.  
  553. {block:Quote}<span class="title">❝ {Quote} ❞</span>{block:Source}<div align="right"><i> - {Source}</i></div>{/block:Source}{block:IndexPage}<div class="cory"><a href="{Permalink}" title="permalink">Posted {TimeAgo} with {NoteCount} Notes</a></div>{/block:IndexPage}{/block:Quote}
  554.  
  555.  
  556. {block:Chat}
  557. {block:Title}<span class="title">{Title}</span>{/block:Title}
  558.  
  559. <ul class="chat">{block:Lines}<li class="user_{UserNumber}">{block:Label}<div class="label">{Label}</div>{/block:Label}{Line}</li>{/block:Lines}</ul>
  560.  
  561. {block:IndexPage}
  562. <div class="cory"><a href="{Permalink}" title="permalink">Posted {TimeAgo} with {NoteCount} Notes</a></div>{/block:IndexPage}
  563. {/block:Chat}
  564.  
  565. {block:Audio}
  566.  
  567. <div id="audio"><div class="cover"><img src="http://static.tumblr.com/k9utpfa/tcom8wpif/default_cover_m.jpg"></div>{block:AlbumArt}<div class="cover"><img src="{AlbumArtURL}"></div>{/block:AlbumArt}<div class="playbox">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div><div class="info"><b>Artist:</b> <span{block:Artist} style="display:none;"{/block:Artist}>Unknown</span>{block:Artist}{Artist}{/block:Artist}<br><b>Title:</b> <span{block:TrackName} style="display:none;"{/block:TrackName}>Unknown</span>{block:TrackName}{TrackName}{/block:TrackName}<br><b>Album:</b> <span{block:Album} style="display:none;"{/block:Album}>Unknown</span>{block:Album}{Album}{/block:Album}{block:PlayCount}<br><b>Plays:</b> {FormattedPlayCount}{/block:PlayCount}</div></div>
  568. {block:IndexPage}
  569. </p><div class="cory"><a href="{Permalink}" title="permalink">Posted {TimeAgo} with {NoteCount} Notes</a></div>
  570. {/block:IndexPage}
  571. {/block:Audio}
  572.  
  573. {block:Video}
  574. {block:IndexPage}
  575. <center>{Video-250}</center>
  576. <div class="cory"><a href="{Permalink}" title="permalink">Posted {TimeAgo} with {NoteCount} Notes</a></div>
  577. {/block:IndexPage}
  578. {block:PermalinkPage}
  579. <center>{Video-500}</center>
  580. {/block:PermalinkPage}
  581. {block:Video}
  582.  
  583. {block:PostNotes}<div align="middle">{caption}</div>
  584. <center>
  585.  
  586. {block:NoteCount}{NoteCountWithLabel}<br>{/block:NoteCount}
  587.  
  588. {block:HasTags}
  589. tags: {block:Tags}<a href="{TagURL}">{Tag}. </a>{/block:Tags}<br> {/block:HasTags}
  590. {block:RebloggedFrom}
  591. reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
  592. posted by <a href="{ReblogRootURL}">{ReblogRootName}</a>
  593.  
  594. {/block:RebloggedFrom}
  595. </center></span>
  596. <br>
  597. <div id="postnotes">{PostNotes}</div><br>
  598.  
  599. <center>{block:ContentSource}
  600. <br><a href="{SourceURL}">
  601. {lang:Source}:
  602. {block:SourceLogo}
  603. <img src="{BlackLogoURL}" width="{LogoWidth}"
  604. height="{LogoHeight}" alt="{SourceTitle}" />
  605. {/block:SourceLogo}
  606. {block:NoSourceLogo}
  607. {SourceLink}
  608. {/block:NoSourceLogo}
  609. </a>
  610. {/block:ContentSource}</center>
  611.  
  612. {/block:PostNotes}
  613. </div>
  614. {/block:Posts}
  615. </div></div>
  616.  
  617. {block:IndexPage}
  618. {block:Pagination}
  619. <div id="pagination">
  620. {block:NextPage}
  621. <a id="nextPage" href="{NextPage}"></a>
  622. {/block:NextPage}
  623. {block:PreviousPage}
  624. <a href="{PreviousPage}"></a>
  625. {/block:PreviousPage}
  626. </div>
  627. {/block:Pagination}
  628. {/block:IndexPage}
  629.  
  630. <script type="text/javascript" src="http://static.tumblr.com/uiqhh9x/2MFlzww4p/likenew.js"></script>
  631.  
  632. <script type="text/javascript">autoscale(new Array('object', 'embed'));</script>
  633.  
  634. <script type="text/javascript" src="http://static.tumblr.com/iddq6cw/cz1m316ry/arny.js"></script>
  635. <iframe id="likeiframe" style="display:none;"></iframe>
  636. <script type="text/javascript">
  637.  
  638. $(function() {
  639. $(window).scroll(function() {
  640. if($(this).scrollTop() != 0) {
  641. $('#toTop').fadeIn();
  642. } else {
  643. $('#toTop').fadeOut();
  644. }
  645. });
  646.  
  647. $('#toTop').click(function() {
  648. $('body,html').animate({scrollTop:0},800);
  649. });
  650. });
  651.  
  652.  
  653. $(window).load(function () {
  654.  
  655.  
  656.  
  657.  
  658.  
  659. // endless scrolling
  660. var $container = $('#holder');
  661. $container.imagesLoaded(function(){
  662. $container.masonry({
  663. itemSelector: '.box'
  664. });
  665. });
  666. $container.infinitescroll({
  667. navSelector : '#page-nav', // selector for the paged navigation
  668. nextSelector : '#page-nav a', // selector for the NEXT link (to page 2)
  669. itemSelector : '.box', // selector for all items you'll retrieve
  670. bufferPx: 0,
  671. debug : true,
  672. loading: {
  673. finishedMsg: '',
  674. img: '',
  675. msgText: ''
  676. }
  677. },
  678. // trigger Masonry as a callback
  679. function( newElements ) {
  680. // hide new items while they are loading
  681. var $newElems = $( newElements ).css({ opacity: 0 });
  682. // ensure that images load before adding to masonry layout
  683. $newElems.imagesLoaded(function(){
  684. // show elems now they're ready
  685. $newElems.animate({ opacity: 1 });
  686. $container.masonry( 'appended', $newElems, true );
  687. });
  688. }
  689. );
  690.  
  691. // End of endless scrolling
  692.  
  693. });
  694.  
  695. </script>
  696.  
  697. </body>
  698.  
  699. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement