Beautifully-Flawless

Theme 33: Bonita

Sep 14th, 2013
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.63 KB | None | 0 0
  1. <!--Theme 33: Bonita
  2. By Beautifully Flawless
  3. DO NOT REMOVE CREDIT, OR YOU WILL BE REPORTED.
  4. DO NOT REMOVE CREDIT, OR YOU WILL BE REPORTED.
  5. DO NOT REMOVE CREDIT, OR YOU WILL BE REPORTED.
  6. DO NOT REMOVE CREDIT, OR YOU WILL BE REPORTED.
  7. DO NOT REMOVE CREDIT, OR YOU WILL BE REPORTED.
  8. DO NOT REMOVE CREDIT, OR YOU WILL BE REPORTED.
  9. -->
  10.  
  11. <html>
  12. <head>
  13.  
  14. <script type="text/javascript"
  15. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  16.  
  17. <title>{Title}</title>
  18. <link rel="shortcut icon" href="{favicon}">
  19. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  20. {block:Description}<meta name="description"content="{MetaDescription}"/>{/block:Description}
  21.  
  22. <!--Variables-->
  23.  
  24. <meta name="color:background" content="#000000" />
  25. <meta name="color:Scrollbar"content="#e62020">
  26. <meta name="color:text" content="#000" />
  27. <meta name="color:Links" content="#e62020"/>
  28. <meta name="color:LInks Hover" content="#fff"/>
  29. <meta name="color:Posts Border" content="#e62020"/>
  30. <meta name="color:Posts BG" content="#fff"/>
  31. <meta name="color:Title" content="#000"/>
  32. <meta name="color:Sidebar BG" content="#000"/>
  33. <meta name="color:Sidebar Border" content="#e62020"/>
  34. <meta name="color:Sidebar Shadow" content="#e62020"/>
  35. <meta name="color:Banner" content="#e62020"/>
  36. <meta name="color:Banner Shadow" content="#e62020"/>
  37. <meta name="color:Navigation BG" content="#000000"/>
  38. <meta name="color:Navigation Border" content="#e62020"/>
  39. <meta name="color:Navigation Text" content="#fff"/>
  40. <meta name="color:Navigation Shadow Hover" content="#e62020"/>
  41. <meta name="color:Featured Blogs Border" content="#e62020"/>
  42. <meta name="color:Favorites Border" content="#e62020"/>
  43. <meta name="color:Favorites Shadow" content="#e62020"/>
  44. <meta name="color:Favorites Text" content="#e62020"/>
  45.  
  46. <meta name="image:Background" content="" />
  47. <meta name="image:sidebar" content="http://i.imgur.com/Vup1PXg.jpg"/>
  48.  
  49. <meta name="text:FAV 1 URL" content=""/>
  50. <meta name="text:FAV 2 URL" content=""/>
  51. <meta name="text:FAV 3 URL" content=""/>
  52. <meta name="text:FAV 4 URL" content=""/>
  53. <meta name="text:FAV 5 URL" content=""/>
  54. <meta name="text:FAV 6 URL" content=""/>
  55. <meta name="text:FAV 7 URL" content=""/>
  56. <meta name="text:FAV 8 URL" content=""/>
  57. <meta name="text:FAV 9 URL" content=""/>
  58. <meta name="text:FAV 10 URL" content=""/>
  59.  
  60.  
  61. <meta name="text:FAV 1" content="FAVORITES"/>
  62. <meta name="text:FAV 2" content="FAVORITES"/>
  63. <meta name="text:FAV 3" content="FAVORITES"/>
  64. <meta name="text:FAV 4" content="FAVORITES"/>
  65. <meta name="text:FAV 5" content="FAVORITES"/>
  66. <meta name="text:FAV 6" content="FAVORITES"/>
  67. <meta name="text:FAV 7" content="FAVORITES"/>
  68. <meta name="text:FAV 8" content="FAVORITES"/>
  69. <meta name="text:FAV 9" content="FAVORITES"/>
  70. <meta name="text:FAV 10" content="FAVORITES"/>
  71.  
  72. <!--Variables-->
  73.  
  74. <style type="text/css">
  75.  
  76. ::-webkit-scrollbar{width:10px;height:3px; background:black;}
  77. ::-webkit-scrollbar-thumb{background:{color:Scrollbar};border-radius:5px;box-shadow:inset 0px 0px 40px #000000;}
  78.  
  79. #tumblr_controls{
  80. position:fixed !important;
  81. }
  82.  
  83. body {
  84. background-image:url('{image:Background}');
  85. background-attachment:fixed;
  86. background-position:left;
  87. background-repeat:repeat;
  88. background-color:{color:Background};
  89. margin:0px;
  90. }
  91.  
  92. body, div, p, textarea, submit, input {
  93. font-family:'tinytots';
  94. color:{color:Text};
  95. font-size:8px;
  96. line-height:100%;
  97. text-align:justify;
  98. text-transform:uppercase;
  99. }
  100.  
  101. a:link, a:visited, a:active {
  102. text-decoration:none;
  103. color:{color:Links};
  104. -webkit-transition: all 0.4s ease-in-out;
  105. -moz-transition: all 0.4s ease-in-out;
  106. -o-transition: all 0.4s ease-in-out;
  107. transition: all 0.4s ease-in-out;
  108. }
  109.  
  110. a:hover {
  111. color:{color:Links Hover};
  112. -webkit-transition: all 0.5s ease-out;
  113. -moz-transition: all 0.5s ease-out;
  114. transition: all 0.5s ease-out;
  115. }
  116.  
  117. @font-face{font-family:"tinytots";src:url('http://static.tumblr.com/rmj06l2/Usellxb4i/tinytots.ttf'); }
  118.  
  119. @font-face{font-family:"lovers";src:url('http://static.tumblr.com/gdh5wux/Lncmeqv31/loversquarrel-regular.ttf');}
  120.  
  121. @font-face{font-family:"brock";src:url('http://static.tumblr.com/gdh5wux/aMcmequju/brockscript.ttf');}
  122.  
  123. @font-face{font-family:"aspire";src:url('http://static.tumblr.com/gdh5wux/Mtimequm2/aspire-demibold.ttf');}
  124.  
  125. @font-face { font-family: "lainie"; src: url('http://static.tumblr.com/oetadgc/Uialyjfaa/laine.ttf'); }
  126.  
  127. @font-face{ font-family:"chopin"; src:url('http://static.tumblr.com/gdh5wux/FYdm826v4/chops___.ttf'); }
  128.  
  129. div#posts {
  130. float:left;
  131. width:820px;
  132. z-index:99;
  133. margin-left:560px;
  134. }
  135.  
  136. .entry {
  137. float:left;
  138. margin:2px;
  139. overflow:hidden;
  140. border:1px solid {color:Posts Border};
  141. background-color:{color:Posts Bg};
  142. {block:IndexPage}
  143. width:350px;
  144. {/block:IndexPage}
  145. {block:PermalinkPage}
  146. width:500px;
  147. {/block:PermalinkPage}
  148. }
  149.  
  150. .perma{
  151. opacity: 0.0;
  152. filter:alpha(opacity = 0);
  153. margin-top:-21px;
  154. width:0px;
  155. height:30px;
  156. line-height:30px;
  157. font-size:9px;
  158. position:absolute;
  159. text-align:center;
  160. z-index:800;
  161. color:#000;
  162. }
  163.  
  164. a.p{color:#fff;}
  165.  
  166.  
  167. .entry:hover .perma {
  168. opacity: 1;
  169. transition: all 0.4s linear;
  170. filter: alpha(opacity = 100);
  171. -webkit-transition: opacity 0.4s linear;
  172. -moz-transition: all 0.4s linear;
  173. }
  174.  
  175. .likep{
  176. top:26px;
  177. left:5px;
  178. z-index:99;
  179. width:21px;
  180. height:20px;
  181. overflow:hidden;
  182. position: absolute;
  183. }
  184.  
  185. .likep img {
  186. width:21px;
  187. height:20px;
  188. webkit-transition: all 0.2s linear;
  189. -webkit-transition: all 0.2s linear;
  190. -moz-transition: all 0.2s linear;
  191. transition: all 0.2s linear;
  192. }
  193.  
  194. .rep{
  195. top:26px;
  196. left:29px;
  197. width:24px;
  198. height:20px;
  199. overflow:hidden;
  200. position:absolute;
  201. z-index:99;
  202. }
  203.  
  204. .rep img{
  205. width:24px;
  206. height:20px;
  207. line-height:30px;
  208. display:inline;
  209. }
  210.  
  211.  
  212. .likep a:hover{background-position: 0px 0px;}
  213.  
  214. .likep a{
  215. background-image: url("http://static.tumblr.com/uiqhh9x/BPnlzww8v/like.png");
  216. background-position:0px 0px;
  217. display:block;
  218. z-index:99;
  219. webkit-transition: all 0s linear;
  220. -webkit-transition: all 0s linear;
  221. -moz-transition: all 0s linear;
  222. transition: all 0s linear;
  223. }
  224.  
  225. .not{
  226. position:absolute;
  227. background: url("http://static.tumblr.com/uiqhh9x/X6Ym17xp2/middle.png");
  228. height:20px;
  229. font-size:11px;
  230. line-height:20px;
  231. color:#fff;
  232. position:absolute;
  233. top:26px;
  234. left: 56px;
  235. padding-left:4px;
  236. padding-right:4px;
  237. -moz-border-radius:2px;
  238. border-radius:2px;
  239. }
  240.  
  241. .not a{
  242. color:#fff;
  243. font-weight:bold;
  244. font-family:Arial, Helvetica, sans-serif;
  245. }
  246.  
  247. .entry:hover .not, .entry:hover .rep, .entry:hover .likep{opacity: 0.8;filter: alpha(opacity = 80);}
  248.  
  249. .not:hover , .rep:hover, .likep:hover{opacity: 1!important;filter: alpha(opacity = 100)!important;}
  250.  
  251. #infscr-loading{
  252. bottom: -70px;
  253. position: absolute;
  254. left: 50%;
  255. margin-left:-8px;
  256. width:16px;
  257. height:11px;
  258. overflow:hidden;
  259. margin-bottom: 50px;
  260. }
  261.  
  262. .title{
  263. font-family:'lainie';
  264. font-size:25px;
  265. line-height:28px;
  266. color:{color:Posts Header};
  267. text-align:center;
  268. text-transform:none;
  269. text-shadow: 0px 2px 3px {color:Posts Header Shadow};
  270. }
  271.  
  272. .quote{
  273. font-family:'Arial';
  274. font-size:8px;
  275. line-height:12px;
  276. color:{color:Source};
  277. text-transform:uppercase;
  278. text-align:right;
  279. }
  280.  
  281. .infinite {
  282. align:right;
  283. background:#ddd;
  284. color:#000;
  285. margin:3px 0px 5px 66px;
  286. padding:7px;
  287. padding-top: 5px;
  288. position: relative;
  289. border-radius:5px;
  290. }
  291.  
  292. .infinite span {
  293. display:block;
  294. position:absolute;
  295. width:1px;height:1px;
  296. font-size: 8px;
  297. font-family: pixel;
  298. line-height: 1px;
  299. left:-10px;
  300. top:10px;
  301. border-top:5px solid transparent;
  302. border-bottom:5px solid transparent;
  303. border-right:10px solid grey;
  304. }
  305.  
  306. .askborder{float:left;margin:1px 4px 0 0;padding:2px;background:#ddd;}
  307.  
  308. asker{
  309. margin-right:5px;
  310. font-family:'lainie';
  311. font-size:19px;
  312. text-align:center;
  313. text-transform:none;
  314. }
  315.  
  316. blockquote{
  317. border-left:5px solid #888;
  318. padding:5px;
  319. }
  320.  
  321. ul, ol, li{
  322. list-style:circle;
  323. margin:5px;
  324. margin-left:10px;
  325. padding-left:3px;
  326. }
  327.  
  328. .user_1 .label {color:#5D5D5D; font-weight:bold;}
  329. .user_2 .label {color:#7D7D7D; font-weight:bold;}
  330.  
  331. .notes img{width:10px; position:relative; top:3px;}
  332.  
  333. #sidebar{
  334. width:250px;
  335. min-height:320px;
  336. top:70px;
  337. left:280px;
  338. color:#fff;
  339. position:fixed;
  340. text-align:center;
  341. background:{color:Sidebar BG};
  342. border:1px solid {color:Sidebar Border};
  343. box-shadow:0px 0px 20px {color:Sidebar Shadow};
  344. -webkit-transition:opacity 0.5s linear;
  345. -webkit-transition:all 0.5s ease-in-out;
  346. -moz-transition:all 0.5s ease-in-out;
  347. -o-transition:all 0.5s ease-in-out;
  348. }
  349.  
  350. #Banner{
  351. left:8px;
  352. top:0px;
  353. z-index:9999;
  354. font-size:70px;
  355. position:fixed;
  356. text-align:center;
  357. text-transform:none;
  358. font-family:'chopin';
  359. color:{color:Banner Shadow};
  360. text-shadow:1px 1px 10px {color:Banner Shadow};
  361. }
  362.  
  363. #name{
  364. color:#fff;
  365. font-family:"aspire";
  366. font-size:25px;
  367. line-height:25px;
  368. text-align:center;
  369. text-transform:none;
  370. }
  371.  
  372. #name:first-letter{
  373. font-family:"brock";
  374. font-size:30px;
  375. color:#fff;
  376. line-height:40px;
  377. text-shadow:0px 0px 10px #e62020;
  378. }
  379.  
  380. #Navigation{
  381. position:fixed;
  382. width:530px;
  383. height:100%;
  384. top:530px;
  385. }
  386.  
  387. div.navigate a{
  388. height:20px;
  389. width:70px;
  390. margin:4px;
  391. float:left;
  392. font-size:8px;
  393. line-height:20px;
  394. text-align:center;
  395. font-family:'tinytots';
  396. text-transform:uppercase;
  397. color:{color:Navigation Text};
  398. background-color:{color:Navigation BG};
  399. border:1px dotted {color:Navigation Border};
  400. -webkit-transition: all 5s ease-out;
  401. -moz-transition: all 5s ease-out;
  402. transition: all 5s ease-out;
  403. }
  404.  
  405. #banners{
  406. width:200px;
  407. height:140px;
  408. border:1px dotted {color:Featured Blogs Border};
  409. margin-top:420px;
  410. margin-left:0px;
  411. position:fixed;
  412. }
  413.  
  414. #banners img{
  415. width:100%;
  416. }
  417.  
  418. #sidebarpic{
  419. position:fixed;
  420. left:0px;
  421. top:70px;
  422. z-index:-8;
  423. width:260px;
  424. border:1px solid {color:Sidebar Border};
  425. }
  426.  
  427. #sidebarpic img{
  428. width:100%;
  429. }
  430.  
  431. #faves img {
  432. opacity:0.5;
  433. width:60px;
  434. height:60px;
  435. padding:0px;
  436. border-radius:0px;
  437. border:1px ridge {color:Favorites Border};
  438. box-shadow:0px 0px 10px {color:Favorites Shadow};
  439. -webkit-transition-duration:.7s;
  440. }
  441.  
  442. #faves img:hover {
  443. -webkit-transition: 0.2s ease-in;
  444. border-radius:32px;
  445. padding:0px;
  446. width:50px;
  447. height:50px;
  448. }
  449.  
  450. .heart {display:block;color:#fff;line-height:15px;text-align:center;vertical-align:left; background:url('http://www.hellostar.org/wp-admin/images/q1.gif') no-repeat left;}
  451.  
  452. .heart:hover{background:url('http://www.hellostar.org/wp-admin/images/q2.gif') no-repeat left;}
  453.  
  454.  
  455. {CustomCSS}
  456. </style>
  457. <body>
  458.  
  459. <div id="sidebarpic"><img src="{image:sidebar}"></div>
  460.  
  461. <div id="banner">{title}</div>
  462.  
  463. <div id="sidebar">
  464. <div id="name">About The Blogette</div>
  465. {description}
  466. <div id="name">Statistics</div>
  467. <div class="heart">Insert Stat Here</div>
  468. <div class="heart">Insert Stat Here</div>
  469. <div class="heart">This theme is best viewed in G.Chrome and Safari</div>
  470. <div id="name">Music</div>
  471. <center>
  472.  
  473. <!-- PLACE MUSIC CODE HERE -->
  474.  
  475. <object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_multi.swf" width="220" height="20">
  476. <param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_multi.swf" />
  477. <param name="bgcolor" value="#000000" />
  478. <param name="FlashVars" value="&amp;width=220&amp;height=20&amp;volume=200&amp;autoplay=1&amp;loop=1&amp;showvolume=1&amp;bgcolor1=&amp;bgcolor2=&amp;slidercolor1=dddddd" />
  479. </object>
  480.  
  481. <!-- END MUSIC CODE HERE -->
  482.  
  483. </center>
  484.  
  485.  
  486.  
  487. <div id="name">Favorites</div>
  488. <font style="color:{color:Favorites Text};">
  489. <a href="{text:FAV 1 URL}">{text:FAV 1}</a>&hearts;
  490. &nbsp;&nbsp;
  491. <a href="{text:FAV 2 URL}">{text:FAV 2}</a>&hearts;
  492. &nbsp;&nbsp;
  493. <a href="{text:FAV 3 URL}">{text:FAV 3}</a>&hearts;
  494. &nbsp;&nbsp;
  495. <a href="{text:FAV 4 URL}">{text:FAV 4}</a>&hearts;
  496. &nbsp;&nbsp;
  497. <a href="{text:FAV 5 URL}">{text:FAV 5}</a>&hearts;
  498. &nbsp;&nbsp;
  499. <a href="{text:FAV 6 URL}">{text:FAV 6}</a>&hearts;
  500. &nbsp;&nbsp;
  501. <a href="{text:FAV 7 URL}">{text:FAV 7}</a>&hearts;
  502. &nbsp;&nbsp;
  503. <a href="{text:FAV 8 URL}">{text:FAV 8}</a>&hearts;
  504. &nbsp;&nbsp;
  505. <a href="{text:FAV 9 URL}">{text:FAV 9}</a>&hearts;
  506. &nbsp;&nbsp;
  507. <a href="{text:FAV 10 URL}">{text:FAV 10}</a>&hearts;
  508. <br>&nbsp;&nbsp;
  509. </font>
  510. <br>
  511. </div>
  512.  
  513. <div id="Navigation">
  514. <div id="name">Navigation</div>
  515. <div class="navigate">
  516. <a href="/">Home</a>
  517. <a href="/ask">Inbox</a>
  518. <a href="/faq">Faq</a>
  519. <a href="/submit">Submit</a>
  520. <a href="/links">More</a>
  521. <a href="http://beautifully-flawless.tumblr.com/">Credit</a>
  522. </div>
  523. </div>
  524.  
  525.  
  526. <div style="position:fixed;top:390px;left:10px;"id="name">Featured Blogs</div>
  527.  
  528. <div id="banners">
  529. <marquee behavior="scroll" direction="up"style="width:200px; height:140px;">
  530. <!-- PLACE BANNER CODE HERE -->
  531.  
  532.  
  533. <!-- END BANNER CODE HERE -->
  534. </marquee>
  535. </div>
  536.  
  537. <div id="posts">
  538. {block:Posts}
  539. <div class="entry">
  540.  
  541. {block:IndexPage}
  542. <div class="perma">
  543.  
  544. <div class="likep">
  545. <a id="like{PostID}"href="javascript:likelink('{PostID}','{Permalink}','');"><img src="http://static.tumblr.com/lba83dv/OUUltd958/spacer.gif"width="21" height="20"alt="Like this post"id="likeimage{PostID}"/></a>
  546. </div>
  547.  
  548. <div class="rep"><a href="{reblogurl}"target="_blank"><img src="http://static.tumblr.com/uiqhh9x/OAClzwwao/reblog.png"width="30"/></a></div>
  549.  
  550. <div class="not">
  551. <a id="notes{PostID}"href="{Permalink}">{NoteCount}</a></div>
  552. </div>
  553. {/block:IndexPage}
  554.  
  555. {block:Text}
  556. {block:Title}
  557. <div class="title">{Title}</div>
  558. {/block:Title}
  559. <span class="entrytext">{Body}</span>
  560. {/block:Text}
  561.  
  562. {block:Link}
  563. <div class="title"><a href="{URL}">{Name}</a></div>
  564. {block:Description}
  565. {Description}
  566. {/block:Description}
  567. {block:Link}
  568.  
  569. {block:Photo}
  570. {block:IndexPage}
  571. {LinkOpenTag}
  572. <div class="photo"><a href="{permalink}">
  573. <img class="photo"src="{PhotoURL-HighRes}"alt="{PhotoAlt}"width="100%"/></a></div>
  574. {LinkCloseTag}
  575. {/block:IndexPage}
  576. {block:PermalinkPage}
  577. {LinkOpenTag}
  578. <a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="500"/></a>
  579. {LinkCloseTag}
  580. {/block:PermalinkPage}
  581. {/block:Photo}
  582.  
  583. {block:Photoset}
  584. {block:IndexPage}
  585. {Photoset-250}
  586. {/block:IndexPage}
  587. {block:PermalinkPage}
  588. <center>
  589. {Photoset-500}
  590. </center>
  591. {/block:PermalinkPage}
  592. {/block:Photoset}
  593.  
  594. {block:Quote}
  595. {Quote}
  596. </span>
  597. {block:Source}
  598. <div class="quote">{Source}</div>
  599. {/block:Source}
  600. {/block:Quote}
  601.  
  602. {block:Chat}
  603. {block:Title}
  604. <div class="title">{Title}</div>
  605. {/block:Title}
  606. <ul class="chat">
  607. {block:Lines}
  608. <li class="user_{UserNumber}">
  609. {block:Label}
  610. <span class="label">{Label}</span>
  611. {/block:Label}
  612. &nbsp;{Line}</li>
  613. {/block:Lines}</ul>
  614. {/block:Chat}
  615.  
  616. {block:Audio}
  617. <center>
  618. {AudioPlayerWhite}
  619. </center>
  620. {/block:Audio}
  621.  
  622. {block:Video}
  623. {block:IndexPage}
  624. <center>
  625. {Video-250}
  626. </center>
  627. {/block:IndexPage}
  628. {block:PermalinkPage}
  629. <center>
  630. {Video-500}
  631. </center>
  632. {/block:PermalinkPage}
  633. {block:Video}
  634.  
  635. {block:Answer}
  636. <img src="{AskerPortraitURL-48}" width=50px; height=50px; align="left" class="askborder"><div class="infinite"><span></span><asker>{Asker}</asker>: {Question}&nbsp;</div>
  637. <div style="margin-top: -5px;"><br>{Answer}</div>
  638. {/block:Answer}
  639.  
  640. {block:PermalinkPage}
  641. <center>
  642. <br>
  643. {block:Caption}
  644. {Caption}
  645. {/block:Caption}
  646.  
  647. {block:ContentSource}<a href="{SourceURL}"> </a>{block:ContentSource}
  648.  
  649. {block:RebloggedFrom}
  650. <a href="{ReblogParentURL}"> </a>
  651. <a href="{ReblogRootURL}"> </a>
  652. {/block:RebloggedFrom}
  653.  
  654. {block:NoteCount}
  655. {NoteCountWithLabel}
  656. {/block:NoteCount}
  657.  
  658. {block:HasTags}
  659. &middot;{block:Tags}<a href="TagURL">#{Tag}</a>{/block:Tags}
  660. {/block:hasTags}
  661. </center>
  662. {/block:PermalinkPage}
  663.  
  664.  
  665. {block:PostNotes}
  666. {PostNotes}
  667. {/block:PostNotes}
  668. </div>
  669.  
  670. {/block:Posts}
  671. </div>
  672. </div>
  673.  
  674.  
  675. {block:IndexPage}
  676. {block:Pagination}
  677. <div id="pagination">
  678. {block:NextPage}
  679. <a id="nextPage" href="{NextPage}"></a>
  680. {/block:NextPage}
  681. {block:PreviousPage}
  682. <a href="{PreviousPage}"></a>
  683. {/block:PreviousPage}
  684. </div>
  685. {/block:Pagination}
  686. {/block:IndexPage}
  687.  
  688. {block:IndexPage}
  689. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  690. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  691.  
  692. <script type="text/javascript">
  693. $(window).load(function () {
  694. var $content = $('#posts');
  695. $content.masonry({itemSelector: '.entry'}),
  696. $content.infinitescroll({
  697. navSelector : 'div#pagination',
  698. nextSelector : 'div#pagination a#nextPage',
  699. itemSelector : '.entry',
  700. loading: {
  701. finishedMsg: '',
  702. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  703. },
  704. bufferPx : 600,
  705. debug : false,
  706. },
  707. // call masonry as a callback.
  708. function( newElements ) {
  709. var $newElems = $( newElements );
  710. $newElems.hide();
  711. // ensure that images load before adding to masonry layout
  712. $newElems.imagesLoaded(function(){
  713. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(400);} );
  714.  
  715.  
  716. });
  717. });
  718. });
  719. </script>
  720. {/block:IndexPage}
  721. </div>
  722. </body>
  723. </html>
Advertisement
Add Comment
Please, Sign In to add comment