Beautifully-Flawless

Theme 54: Nina

Oct 24th, 2013
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.20 KB | None | 0 0
  1. <!--
  2. Theme 54:Nina
  3. Made By: Beauifully Flawless
  4. Please Do Not Remove the credit from this blog unless I Say you can.
  5. -->
  6.  
  7. <html>
  8. <head>
  9.  
  10. <script type="text/javascript">
  11. // <![CDATA[
  12. var bgcolour="{color:Banner 1}"; // background colour
  13. var fgcolour="{color:Banner 2}"; // foreground colour
  14. var speed=100; // speed of bubbling, lower is faster
  15. var shades=10; // number of shades of bubble
  16.  
  17. /****************************
  18. * Bubbling Text Effect *
  19. *(c) 2003-6 mf2fm web-design*
  20. * http://www.mf2fm.com/rv *
  21. * DON'T EDIT BELOW THIS BOX *
  22. ****************************/
  23. var bubbcol=new Array();
  24. var bubbler, bubbtxt;
  25. var bubbchr=new Array();
  26. window.onload=function() { if (document.getElementById) {
  27. for (bubbler=0; bubbler<=shades; bubbler++) {
  28. bubbtxt="#";
  29. for (var i=1; i<6; i+=2) {
  30. var bg=parseInt(bgcolour.substring(i,i+2),16);
  31. bubbtxt+=dechex(Math.floor(bg+(parseInt(fgcolour.substring(i,i+2),16)-bg)*(bubbler/shades)));
  32. }
  33. bubbcol[bubbler+1]=bubbtxt;
  34. }
  35. bubbler=document.getElementById("bubble");
  36. bubbtxt=bubbler.firstChild.nodeValue;
  37. while (bubbler.childNodes.length) bubbler.removeChild(bubbler.childNodes[0]);
  38. for (var i=0; i<bubbtxt.length; i++) {
  39. var bubbi=document.createElement("span");
  40. bubbi.setAttribute("id", "bubb"+i);
  41. bubbi.appendChild(document.createTextNode(bubbtxt.charAt(i)));
  42. bubbler.appendChild(bubbi);
  43. }
  44. bubbler=setInterval ("bubbling()", speed);
  45. }}
  46.  
  47. function dechex(dec) {
  48. var hex=dec.toString(16);
  49. if (dec<16) return "0"+hex;
  50. else return hex;
  51. }
  52.  
  53. function bubbling() {
  54. for (var i=0; i<bubbtxt.length; i++) {
  55. var bubbme=document.getElementById("bubb"+i);
  56. if (bubbchr[i]) {
  57. bubbme.style.color=bubbcol[bubbchr[i]];
  58. bubbchr[i]=(bubbchr[i]+1)%bubbcol.length;
  59. }
  60. else if (Math.random()<0.75/bubbchr.length) bubbchr[i]=1;
  61. }
  62. }
  63. // ]]>
  64. </script>
  65.  
  66.  
  67. <script type="text/javascript"
  68. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  69.  
  70. <title>{Title}</title>
  71. <link rel="shortcut icon" href="{favicon}">
  72. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  73. {block:Description}<meta name="description"content="{MetaDescription}"/>{/block:Description}
  74.  
  75. <!--Variables-->
  76. <meta name="color:Banner 1" content="#888888" />
  77. <meta name="color:Banner 2" content="#dddddd" />
  78. <meta name="color:Scrollbar BG" content="#ffffff" />
  79. <meta name="color:Scrollbar" content="#dddddd" />
  80. <meta name="color:Background" content="#ffffff" />
  81. <meta name="color:Text" content="#000000" />
  82. <meta name="color:Link" content="#666666" />
  83. <meta name="color:Link Hover Shadow" content="#888888" />
  84. <meta name="color:Posts BG" content="#ffffff" />
  85. <meta name="color:Permalink BG" content="#ffffff" />
  86. <meta name="color:Permalink Text" content="#999999" />
  87. <meta name="color:Posts Header" content="#555555" />
  88. <meta name="color:Asker" content="#555555" />
  89. <meta name="color:Asker Border" content="#dddddd" />
  90. <meta name="color:Asker Shadow" content="#888888" />
  91. <meta name="color:Sidebar BG" content="#ffffff" />
  92. <meta name="color:Sidebar Shadow" content="#aaaaaa" />
  93. <meta name="color:Sidebar Border" content="#eeeeee" />
  94. <meta name="color:Description Text" content="#000000" />
  95. <meta name="color:Sidebar Image BG" content="#eeeeee" />
  96. <meta name="color:Stats" content="#aaaaaa" />
  97. <meta name="color:Faves Border" content="#ffffff" />
  98. <meta name="color:Blogtitle Shadow" content="#000000" />
  99. <meta name="color:Bottombar BG" content="#ffffff" />
  100. <meta name="color:Bottombar Border" content="#dddddd" />
  101. <meta name="color:Navigation BG" content="#eeeeee" />
  102. <meta name="color:Navigation Border" content="#dddddd" />
  103.  
  104. <meta name="image:Sidebar 2" content="http://static.tumblr.com/gdh5wux/dzumfd1yh/8022105558057572_nhxxyljy_c.jpg" />
  105. <meta name="image:background" content="http://static.tumblr.com/gdh5wux/7ycm7ilxu/tumblr_m3sd2thac11qhxwq3.png" />
  106. <meta name="image:sidebar" content="http://i.imgur.com/EL9GT83.jpg"/>
  107.  
  108. <meta name="text:Stat 1" content="INSERT STAT HERE" />
  109. <meta name="text:Stat 2" content="INSERT STAT HERE" />
  110. <meta name="text:Stat 3" content="INSERT STAT HERE" />
  111.  
  112. <meta name="image:Fav 1" content="http://static.tumblr.com/nelpcva/UShm52di5/avatar_66e091343700_96.png"/>
  113. <meta name="image:Fav 2" content="http://i42.tinypic.com/fk2o3r.png"/>
  114. <meta name="image:Fav 3" content="http://static.tumblr.com/gdh5wux/Vfom59kuk/avatar_c6bfafc8cd14_96.png"/>
  115. <meta name="image:Fav 4" content="http://static.tumblr.com/gdh5wux/9qmm59ku4/avatar_2ffa5e0b52ff_96.png"/>
  116.  
  117. <meta name="text:Fav 1 URL" content=""/>
  118. <meta name="text:Fav 2 URL" content=""/>
  119. <meta name="text:Fav 3 URL" content=""/>
  120. <meta name="text:Fav 4 URL" content=""/>
  121.  
  122. <meta name="text:Fav 1" content="BLOG NAME"/>
  123. <meta name="text:Fav 2" content="BLOG NAME"/>
  124. <meta name="text:Fav 3" content="BLOG NAME"/>
  125. <meta name="text:Fav 4" content="BLOG NAME"/>
  126. <!--Variables-->
  127.  
  128.  
  129. <style type="text/css">
  130. ::-webkit-scrollbar {width: 9px; height: 4px; background:{color:Scrollbar BG};}
  131. ::-webkit-scrollbar-thumb { background-color:{color:Scrollbar};-webkit-box-shadow: inset 0 0 6px #000;-webkit-border-radius: 10px;border-radius:10px;
  132. }
  133.  
  134. #tumblr_controls{
  135. position:fixed !important;
  136. z-index: 999999999999;
  137. }
  138.  
  139.  
  140. @font-face {font-family:"tinytots";src:url('http://static.tumblr.com/rmj06l2/Usellxb4i/tinytots.ttf');}
  141.  
  142. @font-face {font-family:"quicksand";src:url('http://static.tumblr.com/fxpo5zq/ad0m5vybr/quicksand_light.otf');}
  143.  
  144. @font-face {font-family:"caviardreams";src:url('http://static.tumblr.com/alux5te/8BFltyod3/caviardreams.ttf');}
  145.  
  146. @font-face {font-family:"lainie";src:url('http://static.tumblr.com/oetadgc/Uialyjfaa/laine.ttf');}
  147.  
  148. @font-face {font-family:"tangerine";src:url('http://static.tumblr.com/gdh5wux/MAfm61bhn/tangerine_regular.ttf');}
  149.  
  150. @font-face { font-family: "dawning"; src: url('http://static.tumblr.com/viiafci/Hyzlxws2r/dawningofanewday.ttf'); }
  151.  
  152. @font-face{font-family:"chopin";src:url('http://static.tumblr.com/gdh5wux/FYdm826v4/chops___.ttf');}
  153.  
  154. @font-face { font-family: "silkscreen"; src: url('http://static.tumblr.com/1kdckk4/9yjlolf0w/slkscr.ttf'); }
  155.  
  156. @font-face { font-family: "lovenote"; src: url('http://static.tumblr.com/4yxykdm/k6plrfhwf/ck_love_note.ttf'); }
  157.  
  158.  
  159. body {
  160. margin: 0px;
  161. background-color:{color:Background};
  162. background-image:url('{image:background}');
  163. background-attachment: fixed;
  164. background-repeat: repeat;
  165. background-position: center;
  166. }
  167.  
  168. body, div, p, textarea, submit, input {
  169. font-family:"tinytots";
  170. font-size:8px;
  171. line-height:12px;
  172. color:{color:Text};
  173. text-transform:uppercase;
  174. }
  175.  
  176. a:link, a:active, a:visited{
  177. color:{color:Link};
  178. text-decoration: none;
  179. -webkit-transition: color 0.5s ease-out;
  180. -moz-transition: color 0.5s ease-out;
  181. transition: color 0.5s ease-out;
  182. }
  183.  
  184. a:hover{
  185. -webkit-transition: color 0.5s ease-out;
  186. -moz-transition: color 0.5s ease-out;
  187. transition: color 0.5s ease-out;
  188. text-shadow:0px 0px 20px {color:Link Hover Shadow};
  189. }
  190.  
  191. div#posts {
  192. width:885px;
  193. margin-left:400px;
  194. margin-top:0px;
  195. z-index:999;
  196. float:left;
  197. }
  198.  
  199. .entry {
  200. margin:6px;
  201. float:left;
  202. overflow:hidden;
  203. padding:8px;
  204. background-color:{color:Posts BG};
  205. {block:IndexPage}
  206. width:260px;
  207. {/block:IndexPage}
  208. {block:PermalinkPage}
  209. width:500px;
  210. {/block:PermalinkPage}
  211. -webkit-transition: opacity 0.9s linear;
  212. -webkit-transition: all 0.9s ease-in-out;
  213. -moz-transition: all 0.9s ease-in-out;
  214. -o-transition: all 0.9s ease-in-out;
  215. }
  216.  
  217. .entry:hover #info{
  218. opacity:1.0;
  219. -webkit-transition: opacity 0.3s ease-out;
  220. -webkit-transition: all 0.3s ease-out;
  221. -moz-transition: all 0.3s ease-out;
  222. transition: all 0.3s ease-out;
  223. }
  224.  
  225. #info{
  226. position:absolute;
  227. background-color:{color:Permalink BG};
  228. width:265px;
  229. height:20px;
  230. top:3px;
  231. left:0px;
  232. overflow:hidden;
  233. padding:5px;
  234. opacity:0.0;
  235. font-family:tinytots;
  236. font-size:8px;
  237. color:{color:Permalink Text};
  238. line-height:25px;
  239. text-align:center;
  240. letter-spacing:1px;
  241. text-transform:uppercase;
  242. -webkit-transition: opacity 0.6s ease-out;
  243. -webkit-transition: all 0.6s ease-out;
  244. -moz-transition: all 0.6s ease-out;
  245. transition: all 0.6s ease-out;
  246. }
  247.  
  248. #infscr-loading{
  249. bottom: -70px;
  250. position: absolute;
  251. left: 50%;
  252. margin-left:-8px;
  253. width:16px;
  254. height:11px;
  255. overflow:hidden;
  256. margin-bottom: 50px;
  257. }
  258.  
  259. .title{
  260. font-family:'quicksand';
  261. text-transform:uppercase;
  262. font-size:25px;
  263. line-height:30px;
  264. color:#000;
  265. text-shadow:1px -1px 2px #000;
  266. text-align:center;
  267. }
  268.  
  269. .quote{
  270. font-family:quicksand;
  271. font-size:12px;
  272. text-transform:none;
  273. line-height:10px;
  274. text-align:right;
  275. color:{color:Posts Header};
  276. }
  277.  
  278. asker{
  279. font-family:'dawning';
  280. font-size:15px;
  281. text-transform:none;
  282. color:#555;
  283. }
  284.  
  285. #ask{
  286. padding:6px;
  287. font-family:'tinytots';
  288. font-size:8px;
  289. text-transform:uppercase;
  290. color:{color:Posts Header};
  291. }
  292.  
  293. #askbox{
  294. background-image:url('http://static.tumblr.com/gdh5wux/RpIm7hlh7/bg.jpg');
  295. border: 3px double {color:Asker Border};
  296. margin: 0px;
  297. margin-top:-5px;
  298. overflow:auto;
  299. padding:4px;
  300. box-shadow: 0px 2px 2px {color:Asker Shadow};
  301. }
  302.  
  303. blockquote{
  304. padding:0px 0px 2px 5px;
  305. margin:0px 0px 2px 10px;
  306. border-left: 1px dotted #999999;
  307. }
  308.  
  309. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  310. .user_1 .label, .user_4 .label, .user_7 .label, .user_2 .label, .user_5 .label, .user_8 .label, .user_3 .label, .user_6 .label,
  311. .user_9 .label {{color:text};}
  312. .notes img{width:10px; position:relative; top:3px;}
  313.  
  314.  
  315. #sidebar{
  316. position:fixed;
  317. width:360px;
  318. height:460px;
  319. background:{color:Sidebar BG};
  320. padding:10px;
  321. margin-top:10px;
  322. margin-left:10px;
  323. box-shadow: 0px 2px 2px {color:Sidebar Shadow};
  324. }
  325.  
  326. #sidebar img{
  327. width:100%;
  328. height:100%;
  329. }
  330.  
  331. #sidebar:hover #side{
  332. opacity:1;
  333. -webkit-transition: all 1s ease-out;
  334. -moz-transition: all 1s ease-out;
  335. transition: all 1s ease-out;
  336. }
  337.  
  338. #side{
  339. position:fixed;
  340. width:360px;
  341. height:460px;
  342. background:{color:Sidebar BG};
  343. padding:10px;
  344. margin-top:-10px;
  345. margin-left:-10px;
  346. opacity:0;
  347. -webkit-transition: all 1s ease-out;
  348. -moz-transition: all 1s ease-out;
  349. transition: all 1s ease-out;
  350. }
  351.  
  352. #des{
  353. width:180px;
  354. height:220px;
  355. margin-left:170px;
  356. margin-top:5px;
  357. position:fixed;
  358. color:{color:Description Text};
  359. text-align:center;
  360. border:2px solid {color:Sidebar Border};
  361. padding:1px;
  362. }
  363.  
  364. #sidepic{
  365. position:fixed;
  366. float:left;
  367. width:160px;
  368. height:220px;
  369. margin-left:0px;
  370. margin-top:5px;
  371. background:{color:Sidebar Image BG};
  372. border:2px solid {color:Sidebar Border};
  373. padding:1px;
  374. -webkit-transition: all 1s ease-out;
  375. -moz-transition: all 1s ease-out;
  376. transition: all 1s ease-out;
  377. }
  378.  
  379. #sidepic img{
  380. width:100%;
  381. height:100%;
  382. }
  383.  
  384. #dess{
  385. width:352px;
  386. height:220px;
  387. margin-left:-4px;
  388. margin-top:5px;
  389. position:fixed;
  390. color:{color:Description Text};
  391. text-align:center;
  392. border:2px solid {color:Sidebar Border};
  393. padding:1px;
  394. }
  395.  
  396. .heart {
  397. display:block;
  398. font-size:8px;
  399. font-family:'tinytots';
  400. color:{color:Stats};
  401. line-height:10px;
  402. text-transform:uppercase;
  403. text-indent:5px;
  404. vertical-align:middle;
  405. -webkit-transition-duration:.50s;
  406. background:url('http://media.tumblr.com/tumblr_m0ohoyUb7m1qfjy56.gif')no-repeat left;
  407. padding-left:10px;
  408. padding-bottom:2px;
  409. text-align:center;
  410. }
  411.  
  412. .heart:hover {
  413. -webkit-transition-duration:.50s;
  414. background:url('http://media.tumblr.com/tumblr_m0ohp6QJDN1qfjy56.gif')no-repeat left;
  415. padding-left:10px;
  416. }
  417.  
  418. #faves img {
  419. opacity:1;
  420. width:50px;
  421. height:50px;
  422. border-radius:0px;
  423. margin:2px;
  424. -webkit-transition-duration:.7s;
  425. border:1px dotted {color:Faves Border};
  426. }
  427.  
  428. #faves img:hover {
  429. border-radius: 32px;
  430. -webkit-transition: 0.2s ease-in;
  431. opacity:.8;
  432. border:1px dotted {color:Faves Border};
  433. }
  434.  
  435. #bottombar{
  436. position:fixed;
  437. width:100%;
  438. height:70px;
  439. bottom:0px;
  440. background:{color:Bottombar BG};
  441. border-top:5px solid {color:Bottombar Border};
  442. z-index:9999999;
  443. }
  444.  
  445. #bigbanner{
  446. position:fixed;
  447. font-family:"lainie";
  448. font-size:80px;
  449. text-transform:none;
  450. right:10px;
  451. margin-top:40px;
  452. color:{color:Blogtitle Shadow};
  453. text-shadow:5px -3px 5px {color:Blogtitle Shadow};
  454. }
  455.  
  456. div.navigate a{
  457. height:20px;
  458. width:70px;
  459. background-color:{color:Navigation BG};
  460. border-left:12px solid {color:Navigation Border};
  461. border-right:12px solid {color:Navigation Border};
  462. font-family:silkscreen;
  463. font-size:8px;
  464. text-transform:uppercase;
  465. margin:6px;
  466. margin-left:10px;
  467. float:left;
  468. text-align: center;
  469. line-height:20px;
  470. color:#000;
  471. -webkit-transition: all 1s ease-out;
  472. -moz-transition: all 1s ease-out;
  473. transition: all 1s ease-out;
  474. }
  475.  
  476.  
  477.  
  478. {CustomCSS}
  479. </style>
  480. <body>
  481.  
  482. <div id="sidebar">
  483. <div id="side">
  484. <div id="des"><br>{description}</div>
  485.  
  486. <div id="sidepic">
  487. <img src="{image:Sidebar 2}">
  488.  
  489. <div id="dess">
  490. <br>
  491. <div class="heart">{text:Stat 1}</div>
  492. <div class="heart">{text:Stat 2}</div>
  493. <div class="heart">{text:Stat 3}</div>
  494. <div class="heart">BEST VIEWED ON GOOGLE CHROME & SAFARI</div>
  495. <br>
  496. <div id="faves">
  497. <center>
  498. <a href="{text:Fav 1 URL}">
  499. <img src='{image:Fav 1}' title="{text:Fav 1}"/></a>
  500.  
  501. <a href="{text:Fav 2 URL}">
  502. <img src='{image:Fav 2}' title="{text:Fav 2}"/></a>
  503.  
  504. <a href="{text:Fav 3 URL}">
  505. <img src='{image:Fav 3}' title="{text:Fav 3}"/></a>
  506.  
  507. <a href="{text:Fav 4 URL}">
  508. <img src='{image:Fav 4}' title="{text:Fav 4}"/></a>
  509. </center>
  510. </div>
  511. <br>
  512. <div class="navigate">
  513. <a href="/">Home</a>
  514. <a href="/ask">Ask</a>
  515. <a href="/submit">Submit</a>
  516. <a href="/archive">Archive</a>
  517. <a href="/links">Other Links</a>
  518. <a href="http://beautifully-flawless.tumblr.com/">Credit</a>
  519. </div>
  520. </div>
  521.  
  522. </div>
  523.  
  524.  
  525. </div>
  526. <img src="{image:sidebar}">
  527. </div>
  528.  
  529. <div id="bottombar">
  530. <div id="bigbanner"><span id="bubble">{title}</span></div>
  531. </div>
  532.  
  533.  
  534. <div id="posts">
  535. {block:Posts}
  536. <div class="entry">
  537.  
  538. {block:IndexPage}
  539. <div id="info">
  540. <a href="{Permalink}"><a href="{permalink}">{NoteCountWithLabel}</a> . <a href="{ReblogURL}" target="_blank"> reblog</a>&nbsp;
  541. </div>
  542. {/block:IndexPage}
  543.  
  544. {block:Text}
  545. {block:Title}
  546. <span class="title">{Title}</span>
  547. {/block:Title}
  548. <span class="entrytext">{Body}</span>
  549. {/block:Text}
  550.  
  551. {block:Link}
  552. <a href="{URL}"class="title">{Name}</a>
  553. {block:Description}
  554. {Description}
  555. {/block:Description}
  556. {block:Link}
  557.  
  558. {block:Photo}
  559. {block:IndexPage}
  560. {LinkOpenTag}
  561. <div class="photo"><a href="{permalink}">
  562. <img class="photo"src="{PhotoURL-HighRes}"alt="{PhotoAlt}"width="260"/></a></div>
  563. {LinkCloseTag}
  564. {/block:IndexPage}
  565. {block:PermalinkPage}
  566. {LinkOpenTag}
  567. <a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="500"/></a>
  568. {LinkCloseTag}
  569. {/block:PermalinkPage}
  570. {/block:Photo}
  571.  
  572. {block:Photoset}
  573. {block:IndexPage}
  574. <center>
  575. {Photoset-250}
  576. </center>
  577. {/block:IndexPage}
  578. {block:PermalinkPage}
  579. <center>
  580. {Photoset-500}
  581. </center>
  582. {/block:PermalinkPage}
  583. {/block:Photoset}
  584.  
  585. {block:Quote}
  586. {Quote}
  587. {block:Source}
  588. <div class="quote">{Source}</div>
  589. {/block:Source}
  590. {/block:Quote}
  591.  
  592. {block:Chat}
  593. {block:Title}
  594. <span class="title">{Title}</span>
  595. {/block:Title}
  596. <ul class="chat">
  597. {block:Lines}
  598. <li class="user_{UserNumber}">
  599. {block:Label}
  600. <span class="label">{Label}</span>
  601. {/block:Label}
  602. {Line}
  603. </li>
  604. {/block:Lines}
  605. </ul>
  606. {/block:Chat}
  607.  
  608. {block:Audio}
  609. <center>
  610. <div style="width:350px;height:30px;">
  611. <div style="float:left">{AudioPlayerWhite}</div>
  612. <div style="margin-top:10px; float:right;">
  613. {block:ExternalAudio}
  614. {/block:ExternalAudio}
  615. </div></div>
  616. </center>
  617. {/block:Audio}
  618.  
  619. {block:Video}
  620. {block:IndexPage}
  621. <center>
  622. {Video-250}
  623. </center>
  624. {/block:IndexPage}
  625. {block:PermalinkPage}
  626. <center>
  627. {Video-500}
  628. </center>
  629. {/block:PermalinkPage}
  630. {block:Video}
  631.  
  632. {block:Answer}
  633. <div id="askbox">
  634. <img src="{AskerPortraitURL-30}" width="30" align="left" style="margin-right:6px; box-shadow: 0px 0px 0px 2px #aaa;"/>
  635. <asker>{Asker}:</asker>
  636. <div id="ask">{Question}</div>
  637. </div>
  638. {Answer}
  639. {/block:Answer}
  640.  
  641. {block:PermalinkPage}
  642. <center>
  643. <br>
  644. {block:Caption}
  645. {Caption}
  646. {/block:Caption}
  647.  
  648. {block:NoteCount}
  649. {NoteCountWithLabel}
  650. {/block:NoteCount}
  651.  
  652. {block:HasTags}
  653. &middot;{block:Tags}<a href="TagURL">#{Tag}</a>{/block:Tags}
  654. {/block:hasTags}
  655. </center>
  656. {/block:PermalinkPage}
  657.  
  658.  
  659. {block:PostNotes}
  660. {PostNotes}
  661. {/block:PostNotes}
  662. </div>
  663.  
  664. {/block:Posts}
  665. </div>
  666. </div>
  667. </div>
  668.  
  669. <!--DO NOT DELETE THIS CODING-->
  670. {block:IndexPage}
  671. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  672. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  673.  
  674. <script type="text/javascript">
  675. $(window).load(function () {
  676. var $content = $('#posts');
  677. $content.masonry({itemSelector: '.entry'}),
  678. $content.infinitescroll({
  679. navSelector : 'div#pagination',
  680. nextSelector : 'div#pagination a#nextPage',
  681. itemSelector : '.entry',
  682. loading: {
  683. finishedMsg: '',
  684. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  685. },
  686. bufferPx : 600,
  687. debug : false,
  688. },
  689. // call masonry as a callback.
  690. function( newElements ) {
  691. var $newElems = $( newElements );
  692. $newElems.hide();
  693. // ensure that images load before adding to masonry layout
  694. $newElems.imagesLoaded(function(){
  695. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(400);} );
  696.  
  697.  
  698. });
  699. });
  700. });
  701. </script>
  702. {/block:IndexPage}
  703. <!--DO NOT DELETE THIS CODING-->
  704.  
  705. {block:IndexPage}
  706. {block:Pagination}
  707. <div id="pagination">
  708. {block:NextPage}
  709. <a id="nextPage" href="{NextPage}"></a>
  710. {/block:NextPage}
  711. {block:PreviousPage}
  712. <a href="{PreviousPage}"></a>
  713. {/block:PreviousPage}
  714. </div>
  715. {/block:Pagination}
  716. {/block:IndexPage}
  717. </div>
  718. </body>
  719. </html>
Advertisement
Add Comment
Please, Sign In to add comment