Beautifully-Flawless

Theme 11: Gabrielle

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