Advertisement
sofiiayala

Theme 11 by Sofi for Tumblr (Double column)

Apr 11th, 2014
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.51 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head><title>{Title}</title>
  4. <link rel="shortcut icon" href="{Favicon}">
  5. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  6. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  7.  
  8. <!---- Theme 11 by doctorwatsn. DON'T CHANGE OR REMOVE THE CREDIT --->
  9.  
  10. <meta name="color:Background" content="#ffffff"/>
  11. <meta name="color:Text" content="#838282"/>
  12. <meta name="color:Link" content="#b8b8b8"/>
  13. <meta name="color:hover Link" content="#b8b8b8"/>
  14. <meta name="image:sidebar" content=""/>
  15.  
  16. <meta name="text:link 1 message" content="Link 1"/>
  17. <meta name="text:link 1 url" content="/"/>
  18. <meta name="text:link 2 message" content="Link 2"/>
  19. <meta name="text:link 2 url" content="/"/>
  20. <meta name="text:link 3 message" content="Link 3"/>
  21. <meta name="text:link 3 url" content="/"/>
  22. <meta name="text:link 4 message" content="Link 4"/>
  23. <meta name="text:link 4 url" content="/"/>
  24. <meta name="text:link 5 message" content="Link 5"/>
  25. <meta name="text:link 5 url" content="/"/>
  26.  
  27. <script type="text/javascript">
  28. WebFontConfig = {
  29. google: { families: [ 'Old+Standard+TT:400,400italic:latin' ] }
  30. };
  31. (function() {
  32. var wf = document.createElement('script');
  33. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  34. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  35. wf.type = 'text/javascript';
  36. wf.async = 'true';
  37. var s = document.getElementsByTagName('script')[0];
  38. s.parentNode.insertBefore(wf, s);
  39. })(); </script>
  40.  
  41. <script type="text/javascript">
  42. WebFontConfig = {
  43. google: { families: [ 'Lato::latin' ] }
  44. };
  45. (function() {
  46. var wf = document.createElement('script');
  47. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  48. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  49. wf.type = 'text/javascript';
  50. wf.async = 'true';
  51. var s = document.getElementsByTagName('script')[0];
  52. s.parentNode.insertBefore(wf, s);
  53. })(); </script>
  54.  
  55. <style type="text/css">
  56.  
  57. #dhtmltooltip{
  58. position: absolute;
  59. padding:5px;
  60. margin-left:70px;
  61. margin-top: -5px;
  62. background: #fff; /* change the background color */
  63. border:0px solid {color:text}; /* change the border color */
  64. font-family: 'Lato', sans-serif; /* change the font */
  65. font-size:7px; /* change the font size */
  66. letter-spacing:1px; /* change the letter spacing */
  67. text-transform:uppercase; /* can be uppercase, lowercase, none*/
  68. font-style: bold;
  69. color:{color:text}; /* change the text color */
  70. visibility: hidden;
  71. z-index: 100;
  72. /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
  73. filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
  74. }
  75.  
  76. ::-webkit-scrollbar {width: 4px; height: 4px; background: #f0f0f0; }
  77. ::-webkit-scrollbar-thumb { background-color: #9b9b9b; -webkit-border-radius: 0ex; }
  78.  
  79. body {
  80. background:{color:background};
  81. margin:0px;
  82. color:{color:text};
  83. font-family:Calibri;
  84. font-size:9px;
  85. line-height:110%;
  86. letter-spacing: 0.5px;
  87. cursor: url(http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png) 3 3, auto;
  88. }
  89.  
  90. a {
  91. text-decoration:none;
  92. outline:none;
  93. -moz-outline-style:none;
  94. color:{color:link};
  95. -webkit-transition: all 0.5s ease-in-out;
  96. -moz-transition: all 0.5s ease-in-out;
  97. -o-transition: all 0.5s ease-in-out;
  98. }
  99.  
  100. a:hover {
  101. text-decoration:none;
  102. outline:none;
  103. -moz-outline-style:none;
  104. color:{color:hover link};
  105. -webkit-transition: all 0.5s ease-in-out;
  106. -moz-transition: all 0.5s ease-in-out;
  107. -o-transition: all 0.5s ease-in-out;
  108. }
  109.  
  110. img {
  111. border:none;
  112. }
  113.  
  114. blockquote {
  115. padding-left:5px;
  116. border-left:1px dotted {color: link};
  117. margin-left: 2px;
  118. }
  119.  
  120. h1 {
  121. font-size:16px;
  122. font-family: garamond;
  123. font-weight: lighter;
  124. letter-spacing: 1px;
  125. line-height: 105%;
  126. text-align: center;
  127. }
  128.  
  129. #entries {
  130. padding:10px;
  131. width:630px;
  132. margin-left:475px;
  133. padding-top:40px;
  134. padding-left: 50px;
  135. padding-bottom: 30px;
  136. }
  137.  
  138. #post {
  139. width:250px;
  140. float: left;
  141. margin-top:40px;
  142. margin-bottom:5px;
  143. padding:0px;
  144. overflow: hidden;
  145. margin-right: 65px;
  146. text-align: left;
  147. {block:indexpage}
  148. width: 250px;
  149. opacity: 1;
  150. {/block:indexpage}
  151. {block:PermalinkPage}
  152. width: 500px;
  153. height: auto;
  154. opacity: 1;
  155. {/block:PermalinkPage}
  156. transition: all 0.3s linear;
  157. -webkit-transition: opacity 0.3s linear;
  158. -webkit-transition: all 0.3s linear;
  159. -moz-transition: all 0.3s linear;
  160. }
  161.  
  162. #post:hover {
  163. opacity: 1.5;
  164. margin-bottom:10px;
  165. transition: all 0.3s linear;
  166. -webkit-transition: opacity 0.3s linear;
  167. -webkit-transition: all 0.3s linear;
  168. -moz-transition: all 0.3s linear;
  169. }
  170.  
  171. {block:indexpage}
  172. #post:hover #info {
  173. opacity: 1;
  174. font-size: 9px;
  175. margin-top: 4px;
  176. text-align:center;
  177. letter-spacing: 0.8;
  178. padding-top: 1px;
  179. margin-top: 6px;
  180. border-top: 1px solid #f0eded;
  181. transition: all 0.3s linear;
  182. -webkit-transition: opacity 0.3s linear;
  183. -webkit-transition: all 0.3s linear;
  184. -moz-transition: all 0.3s linear;
  185. }
  186. {/block:indexpage}
  187.  
  188. #con {
  189. width: 460px;
  190. height: 100%;
  191. position: fixed;
  192. border-right: 1px solid #f0eded;
  193. }
  194.  
  195. #sidebar {
  196. width:250px;
  197. position:fixed;
  198. margin-left:225px;
  199. margin-top:130px;
  200. text-align: center;
  201. }
  202.  
  203. #sidebar:hover #links {
  204. width: 140px;
  205. margin-left: 49px;
  206. text-align: center;
  207. border-bottom: solid 1px #f0eded;
  208. padding: 5px;
  209. margin-top: 5px;
  210. word-spacing: 10px;
  211. font-family:'californian fb';
  212. opacity: 1;
  213. transition: all 0.2s linear;
  214. -webkit-transition: opacity 0.2s linear;
  215. -webkit-transition: all 0.2s linear;
  216. -moz-transition: all 0.2s linear;
  217. }
  218.  
  219. #sidebarimage {
  220. width 110px;
  221. }
  222.  
  223. #sidebarimage img {
  224. width:110px;
  225. }
  226.  
  227. #links {
  228. width: 140px;
  229. margin-left: 49px;
  230. text-align: center;
  231. border-bottom: solid 1px #f0eded;
  232. padding: 5px;
  233. margin-top: 5px;
  234. word-spacing: 10px;
  235. font-family:'californian fb';
  236. {block:IfLinksonhover}
  237. padding: 0px;
  238. margin-top: 0px;
  239. opacity: 0;
  240. transition: all 0.2s linear;
  241. -webkit-transition: opacity 0.2s linear;
  242. -webkit-transition: all 0.2s linear;
  243. -moz-transition: all 0.2s linear;
  244. {/block:IfLinksonhover}
  245. }
  246.  
  247. #description {
  248. padding:5px;
  249. text-align:justify;
  250. width: 140px;
  251. margin-left: 49px;
  252. line-height: 120%;
  253. }
  254.  
  255. #description:first-letter {
  256. float: left;
  257. display: inline-block;
  258. padding: 5px;
  259. padding-bottom: 7px;
  260. padding-top: 7px;
  261. margin-right: 5px;
  262. margin-bottom: -1px;
  263. margin-top: 2px;
  264. font-family: baskervilles;
  265. font-size: 18px;
  266. text-transform: uppercase;
  267. background: #333;
  268. color: {color:background};
  269. }
  270.  
  271. #info {
  272. {block:indexpage}
  273. opacity: 0;
  274. font-size: -10px;
  275. padding-top: -3px;
  276. margin-top: -7px;
  277. border-top: -1px solid #f0eded;
  278. text-align: center;
  279. {/block:indexpage}
  280. {block:PermalinkPage}
  281. font-size: 9px;
  282. margin-top: 4px;
  283. text-align:right;
  284. letter-spacing: 0.8;
  285. padding-top:1px;
  286. border-top: 1px solid #f0eded;
  287. {/block:PermalinkPage}
  288. transition: all 0.3s linear;
  289. -webkit-transition: opacity 0.3s linear;
  290. -webkit-transition: all 0.3s linear;
  291. -moz-transition: all 0.3s linear;
  292. }
  293.  
  294. #tags {
  295. text-align:center;
  296. font-size: 8px;
  297. margin-top: 5px;
  298. letter-spacing: 1.5px;
  299. }
  300.  
  301. #tags a {
  302. margin-left: 3px;
  303. margin-right: 3px;
  304. }
  305.  
  306. #asker {
  307. float:left;
  308. }
  309.  
  310. .question{
  311. text-align: center;
  312. padding:6px;
  313. line-height: 10px;
  314. }
  315.  
  316. .question a {
  317. color: {color:text};
  318. }
  319.  
  320. .answer{
  321. background-color:transparent;
  322. line-height: 10px;
  323. text-align: left;
  324. {block:indexpage}
  325. width: 280px;
  326. {/block:indexpage}
  327. }
  328.  
  329. .answer img {
  330. {block:indexpage}
  331. max-width: 180px;
  332. {/block:indexpage}
  333. {block:PermalinkPage}
  334. width: 480px;
  335. height: auto;
  336. {/block:PermalinkPage}
  337. }
  338.  
  339. #quote {
  340. line-height: 105%;
  341. font-size:18px;
  342. font-family: times;
  343. font-weight: lighter;
  344. text-align: center;
  345. letter-spacing: 1px;
  346. padding: 15px;
  347. border:1px solid #eeeeee;
  348. background:rgba(222,222,222,0.2);
  349. -webkit-border-radius: 2px;
  350. -moz-border-radius: 2px;
  351. }
  352.  
  353. #source {
  354. text-align: center;
  355. font-family: courier new;
  356. }
  357.  
  358. .text {
  359. padding: 13px;
  360. padding-top: 2px;
  361. padding-bottom: 5px;
  362. border:1px solid #eeeeee;
  363. background:rgba(222,222,222,0.2);
  364. -webkit-border-radius: 2px;
  365. -moz-border-radius: 2px;
  366. border-radius: 2px;
  367. {block:indexpage}
  368. max-width: 220px;
  369. {/block:indexpage}
  370. {block:permalink}
  371. max-width: 470px;
  372. {/block:permalink}
  373. }
  374.  
  375. .text img {
  376. {block:indexpage}
  377. max-width: 220px;
  378. {/block:indexpage}
  379. {block:permalink}
  380. max-width: 470px;
  381. {/block:permalink}
  382. }
  383.  
  384. #credit {
  385. font-size:8px;
  386. font-family:georgia;
  387. letter-spacing:1px;
  388. background-color:#fff;
  389. padding:5px;
  390. border:1px solid #e9e9e9;
  391. position:fixed;
  392. right:10px;
  393. bottom:10px;
  394. -moz-transition-duration:0.5s;
  395. -webkit-transition-duration:0.5s;
  396. -o-transition-duration:0.5s;
  397. }
  398.  
  399. #what {
  400. font-size:1px;
  401. font-family:georgia;
  402. letter-spacing:1px;
  403. background-color:#fff;
  404. padding:5px;
  405. position:fixed;
  406. left:0px;
  407. bottom:0px;
  408. color: #fff;
  409. }
  410.  
  411. #what a {
  412. color: #fff;
  413. }
  414.  
  415. heart {
  416. font-size: 8px;
  417. line-height: -5px;
  418. }
  419.  
  420. #cover {
  421. position: relative;
  422. z-index: 1;
  423. height: 80px;
  424. float:left;
  425. border:1px solid #f0f0f0;
  426. padding:4px;
  427. }
  428.  
  429. #button {
  430. width:20px;
  431. height:30px;
  432. overflow: hidden;
  433. position: relative;
  434. z-index: 99;
  435. margin: 15px 24px 13px 16px;
  436. }
  437.  
  438. #buttons {
  439. background-color: #fff;
  440. position: absolute;
  441. z-index: 99;
  442. margin-top: 15px;
  443. margin-left: 15px;
  444. opacity: 0;
  445. -webkit-transition: opacity 0.5s linear;
  446. -webkit-transition: all 0.5s linear;
  447. -moz-transition: all 0.5s linear;
  448. -o-transition: all 0.5s linear;
  449. }
  450.  
  451. #post:hover #buttons {
  452. opacity:0.5;
  453. }
  454.  
  455. #musicinfo {
  456. margin-top:5px;
  457. padding-top:5px;
  458. margin-left: 100px;
  459. font-size:12px;
  460. min-height:70px;
  461. margin-bottom: 15px;
  462. text-align:center;
  463. }
  464.  
  465. #notez {
  466. list-style:lower-roman;
  467. padding-bottom:5px;
  468. padding-top:5px;
  469. margin-left:0px;
  470. font-size:8px;
  471. display:inline-block;
  472. }
  473.  
  474. #notez a {
  475. display:inline-block;
  476. padding-bottom:10px;
  477. }
  478.  
  479. #notez img {
  480. display:none;
  481. }
  482.  
  483. </style>
  484. </head><body>
  485.  
  486. <div id="sidebar">
  487.  
  488. <div id="sidebarimage"><img src="{image:sidebar}"></div>
  489.  
  490. <div id="links">
  491. <a href="{text:link 1 url}" onMouseover="ddrivetip('{text:link 1 message}')";
  492. onMouseout="hideddrivetip()">I</a>
  493. <a href="{text:link 2 url}" onMouseover="ddrivetip('{text:link 2 message}')";
  494. onMouseout="hideddrivetip()">II</a>
  495. <a href="{text:link 3 url}" onMouseover="ddrivetip('{text:link 3 message}')";
  496. onMouseout="hideddrivetip()">III</a>
  497. <a href="{text:link 4 url}" onMouseover="ddrivetip('{text:link 4 message}')";
  498. onMouseout="hideddrivetip()">IV</a>
  499. <a href="{text:link 5 url}" onMouseover="ddrivetip('{text:link 5 message}')";
  500. onMouseout="hideddrivetip()">V</a>
  501.  
  502. </div>
  503.  
  504. <div id="description">{Description}</div>
  505.  
  506. </div>
  507.  
  508. <div id="entries">
  509. {block:Posts}
  510.  
  511. {block:ContentSource}
  512.  
  513. <!--{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  514.  
  515. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  516.  
  517. {/block:SourceLogo}
  518.  
  519. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}-->
  520.  
  521. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  522.  
  523. <div id="post">
  524.  
  525. {block:Text}<div class="text"><h1>{block:Title}<span style="padding-top: -5px;">{Title}</span>{/block:Title}</h1>{Body}</div>{/block:Text}
  526.  
  527. {block:Photo}{block:IndexPage}{LinkOpenTag}<img src="{PhotoURL-250}">{LinkCloseTag}{/block:IndexPage}{block:permalinkpage}{LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width=500px/>{block:Caption}{Caption}{/block:Caption}{LinkCloseTag}{/block:permalinkpage}{/block:Photo}
  528.  
  529. {block:Photoset}{block:IndexPage}{LinkOpenTag}{Photoset-250}{LinkCloseTag}{/block:IndexPage}{block:permalinkpage}{LinkOpenTag}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{LinkCloseTag}{/block:permalinkpage}{/block:Photoset}
  530.  
  531. {block:Quote}<div id="quote"><font size="3">'{Quote}'</font></div>{block:Source}<div id="source"><br><b><font size="1.5">{Source}</font></b></div>{/block:Source}{/block:Quote}
  532.  
  533. {block:Link}<div class="text"><h1><a href="{URL}" {Target}>{Name}</a></h1></div>{block:Description}{Description}{/block:Description}{/block:Link}
  534.  
  535. {block:Chat}{block:Title}<span style="font-family: courier new;"><h1>{Title}</h1>{/block:Title}<font size="2">{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br><br>{/block:Lines}</font></span>{/block:Chat}
  536.  
  537. {block:Audio}
  538. <div id="buttons"><div id="button">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div></div>
  539. {block:AlbumArt}<img src="{AlbumArtURL}" id="cover">{/block:AlbumArt}
  540. <div id="musicinfo">
  541. {block:TrackName}<h1><div style="text-transform: none; padding-bottom: 4px; margin-bottom: 0px; border-bottom: 1px solid #f0f0f0;">{TrackName}</div></h1>{/block:Trackname}
  542. {block:Artist}by {Artist}{/block:Artist}
  543. </div>
  544. {block:permalinkpage}<div style="margin-top:20px;">{block:caption}{Caption}{/block:caption}</div>{/block:permalinkpage}
  545. {/block:Audio}
  546.  
  547. {block:Video}{block:IndexPage}{LinkOpenTag}{VideoEmbed-250}{LinkCloseTag}{/block:IndexPage}{block:permalinkpage}{LinkOpenTag}{VideoEmbed-500}{block:Caption}{Caption}{/block:Caption}{LinkCloseTag}{/block:permalinkpage}{/block:Video}
  548.  
  549. {block:Answer}
  550. <div class="question">❝<b>{Asker}:</b> {Question}</div><div class="answer"><blockquote>{Answer}</blockquote></div>{/block:Answer}
  551.  
  552.  
  553. <div id="info">
  554. {block:Date} {ShortMonth} {DayofMonth}{DayOfMonthSuffix} (<a href="{Permalink}">+{NoteCount}</a>){/block:Date}
  555.  
  556.  
  557. {block:permalinkpage}<div id="tags">{block:HasTags}file under: {block:Tags}<a href="{TagURL}">{Tag}-</a>{/block:Tags}{/block:HasTags}</div>{/block:permalinkpage}
  558. </div>
  559.  
  560. </div>
  561.  
  562. {block:PostNotes}<div id="notez">{PostNotes}</div>{/block:PostNotes}
  563. {/block:Posts}</div>
  564.  
  565. <div id="credit" style="display:inline-block;"><a href="http://doctorwatsn.tumblr.com">221b</a></div>
  566.  
  567. <div id="dhtmltooltip"></div>
  568.  
  569. <script type="text/javascript">
  570.  
  571. /***********************************************
  572. * Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  573. * This notice MUST stay intact for legal use
  574. * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
  575. ***********************************************/
  576.  
  577. var offsetxpoint=-60 //Customize x offset of tooltip
  578. var offsetypoint=20 //Customize y offset of tooltip
  579. var ie=document.all
  580. var ns6=document.getElementById && !document.all
  581. var enabletip=false
  582. if (ie||ns6)
  583. var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
  584.  
  585. function ietruebody(){
  586. return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
  587. }
  588.  
  589. function ddrivetip(thetext, thecolor, thewidth){
  590. if (ns6||ie){
  591. if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
  592. if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
  593. tipobj.innerHTML=thetext
  594. enabletip=true
  595. return false
  596. }
  597. }
  598.  
  599. function positiontip(e){
  600. if (enabletip){
  601. var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
  602. var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
  603. //Find out how close the mouse is to the corner of the window
  604. var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
  605. var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
  606.  
  607. var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
  608.  
  609. //if the horizontal distance isn't enough to accomodate the width of the context menu
  610. if (rightedge<tipobj.offsetWidth)
  611. //move the horizontal position of the menu to the left by it's width
  612. tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
  613. else if (curX<leftedge)
  614. tipobj.style.left="5px"
  615. else
  616. //position the horizontal position of the menu where the mouse is positioned
  617. tipobj.style.left=curX+offsetxpoint+"px"
  618.  
  619. //same concept with the vertical position
  620. if (bottomedge<tipobj.offsetHeight)
  621. tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
  622. else
  623. tipobj.style.top=curY+offsetypoint+"px"
  624. tipobj.style.visibility="visible"
  625. }
  626. }
  627.  
  628. function hideddrivetip(){
  629. if (ns6||ie){
  630. enabletip=false
  631. tipobj.style.visibility="hidden"
  632. tipobj.style.left="-1000px"
  633. tipobj.style.backgroundColor=''
  634. tipobj.style.width=''
  635. }
  636. }
  637.  
  638. document.onmousemove=positiontip
  639. </script>
  640.  
  641. {block:indexpage}
  642. {block:NextPage}<div id="page-nav"><a href="{NextPage}"></a></div>{/block:NextPage}
  643. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
  644. <script type="text/javascript" src="http://static.tumblr.com/bswe8t6/UFVlryaq2/jquerymsnryv2.js"></script>
  645. <script type="text/javascript">
  646. $(window).load(function(){
  647. var $wall = $('#entries');
  648. $wall.imagesLoaded(function(){
  649. $wall.masonry({
  650. itemSelector: '#post',
  651. isAnimated : false
  652. });
  653. });
  654.  
  655. $wall.infinitescroll({
  656. navSelector : '#page-nav',
  657. nextSelector : '#page-nav a',
  658. itemSelector : '#post',
  659. bufferPx : 2000,
  660. debug : false,
  661. errorCallback: function() {
  662. $('#infscr-loading').fadeOut('normal');
  663. }},
  664. function( newElements ) {
  665. var $newElems = $( newElements );
  666. $newElems.hide();
  667. $newElems.imagesLoaded(function(){
  668. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  669. });
  670. }); $('#content').show(500);
  671. });
  672. </script>
  673. {/block:indexpage}
  674.  
  675. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement