Advertisement
yLii

Infinite Isotope 27

Jan 9th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.29 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{Title}</title>
  5.  
  6.  
  7. <script src="http://static.tumblr.com/iuvoef7/bXomx943d/jquery-1.7.1.min.js"></script>
  8.  
  9. <!--don't understand why this script doesn't work -->
  10. <script src="http://static.tumblr.com/iuvoef7/hshmx93xt/jquery.isotope.min.js"></script>
  11.  
  12. <!-- for some reason this one works -->
  13. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/2.2.2/isotope.pkgd.min.js"></script>
  14.  
  15. <!--cellsbycolumn-->
  16. <script src="https://raw.githubusercontent.com/metafizzy/isotope-cells-by-column/master/cells-by-column.js"></script>
  17.  
  18. <!--cellsbyrow-->
  19. <script src="https://raw.githubusercontent.com/metafizzy/isotope-cells-by-row/master/cells-by-row.js"></script>
  20.  
  21. <!--fitcolumns-->
  22. <script src="https://raw.githubusercontent.com/metafizzy/isotope-fit-columns/master/fit-columns.js"></script>
  23.  
  24. <!--masonryhorizontal-->
  25. <script src="https://raw.githubusercontent.com/metafizzy/isotope-masonry-horizontal/master/masonry-horizontal.js"></script>
  26.  
  27.  
  28. <!--horizontal horiz-->
  29. <script src="https://raw.githubusercontent.com/metafizzy/isotope-horizontal/master/horizontal.js"></script>
  30.  
  31.  
  32.  
  33. <!--infinite scroll -->
  34. <script src="http://static.tumblr.com/iuvoef7/tIEmx9449/jquery.infinitescroll.min.js"></script>
  35.  
  36.  
  37. <!--smooth scrolling-->
  38. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.6/SmoothScroll.min.js"></script>
  39.  
  40.  
  41. <script>
  42.  
  43. //main function, called isotope
  44.  
  45. var isotope = $(function(){
  46. var $container = $('#content');
  47. $container.imagesLoaded(function(){
  48. $container.isotope({
  49. itemSelector : '.box',
  50. layoutMode : '{select:Layout Type}',
  51. masonry: {
  52. gutter: {text:Gutter Width}
  53. }
  54. {block:ifMasonryHorizontal}
  55. masonryHorizontal: {
  56. rowHeight: 50
  57. }
  58. {/block:ifMasonryHorizontal}
  59. });
  60. });
  61.  
  62.  
  63. //infinite scroll and callback
  64.  
  65.  
  66. $container.infinitescroll({
  67. navSelector : '#page_nav',
  68. nextSelector : '#page_nav a',
  69. itemSelector : '.box',
  70. loading: {
  71. finishedMsg: 'You have reached the end of the internet.',
  72. img: 'http://i.imgur.com/qkKy8.gif'
  73. }
  74. },
  75. // call Isotope as a callback
  76. function ( newElements ) {
  77. var $newElems = jQuery( newElements ).hide(); // hide to begin with
  78. $( newElements ).find('.photo-slideshow').pxuPhotoset({
  79. lightbox: true,
  80. rounded: false,
  81. gutter: ' {text:Gutter Width}px',
  82. borderRadius: '0px',
  83. highRes : true,
  84. captions : true,
  85. photoset: '.photo-slideshow',
  86. photoWrap: '.photo-data',
  87. photo: '.pxu-photo'
  88. });
  89. // ensure that images load before adding to masonry layout
  90. $newElems.imagesLoaded(function(){
  91. $newElems.fadeIn(); // fade in when ready
  92. $container.isotope( 'insert', $newElems );
  93.  
  94.  
  95. });
  96. }
  97.  
  98.  
  99. );
  100.  
  101. {block:ifManualInfiniteScroll}
  102. //manual infinite scroll
  103. $(window).unbind('.infscr');
  104. $('.load-more').click(function(){
  105. $container.infinitescroll('retrieve');
  106. return false
  107. });
  108. {/block:ifManualInfiniteScroll}
  109.  
  110.  
  111. }); //ending main function
  112.  
  113.  
  114.  
  115. $(document).ready(isotope);
  116.  
  117. </script>
  118.  
  119. <!--Responsive photosets-->
  120. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  121. <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  122.  
  123. <script>
  124. $(document).ready(function(){
  125. $('.photo-slideshow').pxuPhotoset({
  126. lightbox: true,
  127. rounded: false,
  128. gutter: ' {text:Gutter Width}px',
  129. borderRadius: '0px',
  130. highRes : true,
  131. captions : true,
  132. photoset: '.photo-slideshow',
  133. photoWrap: '.photo-data',
  134. photo: '.pxu-photo'
  135. });
  136. });
  137. </script>
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146. <meta name="image:Background" content="" />
  147. <meta name="image:Lollipop Background" content="" />
  148. <meta name="image:Quote Background" content="" />
  149. <meta name="image:HeaderBackground" content="" />
  150.  
  151. <meta name="color:Background" content="#ffffff" />
  152. <meta name="color:Lightbox Background" content="#fff" />
  153. <meta name="color:Links" content="#619251" />
  154. <meta name="color:Text highlight" content="#d83e5c" />
  155. <meta name="color:Lollipop" content="#000000" />
  156. <meta name="color:Lollipop Hover" content="#b7512e" />
  157. <meta name="color:Hover" content="#b7512e" />
  158. <meta name="color:Scrollbar" content="#fed3f2" />
  159.  
  160. <meta name="font:Header Font" content="Arial" />
  161.  
  162.  
  163.  
  164.  
  165. <meta name="if:Captions" content="0" />
  166. <meta name="if:Fade" content="1" />
  167. <meta name="if:Head Space" content="1" />
  168. <meta name="if:Horizontal" content="0" />
  169. <meta name="if:Infinite Scroll" content="1" />
  170. <meta name="if:Manual Infinite Scroll" content="1" />
  171. <meta name="if:Masonry Horizontal" content="0" />
  172. <meta name="if:Sidebar" content="0" />
  173. <meta name="if:Stack Photoset" content="0" />
  174.  
  175.  
  176. <meta name="select:Content Width" content="30%" />
  177. <meta name="select:Content Width" content="40%" />
  178. <meta name="select:Content Width" content="50%" />
  179. <meta name="select:Content Width" content="60%" />
  180. <meta name="select:Content Width" content="70%" />
  181. <meta name="select:Content Width" content="80%" />
  182. <meta name="select:Content Width" content="90%" />
  183. <meta name="select:Content Width" content="100%" />
  184.  
  185.  
  186. <meta name="select:Fade Opacity" content="0.1" />
  187. <meta name="select:Fade Opacity" content="0.2" />
  188. <meta name="select:Fade Opacity" content="0.3" />
  189. <meta name="select:Fade Opacity" content="0.4" />
  190. <meta name="select:Fade Opacity" content="0.5" />
  191. <meta name="select:Fade Opacity" content="0.6" />
  192. <meta name="select:Fade Opacity" content="0.7" />
  193. <meta name="select:Fade Opacity" content="0.8" />
  194. <meta name="select:Fade Opacity" content="0.9" />
  195. <meta name="select:Fade Opacity" content="1.0" />
  196.  
  197. <meta name="select:Float" content="margin:auto" title="Align Center" />
  198. <meta name="select:Float" content="float:left" title="Align Left" />
  199. <meta name="select:Float" content="float:right" title="Align Right" />
  200.  
  201.  
  202.  
  203.  
  204. <meta name="select:SideFloat" content="left" title="Left Sidebar" />
  205. <meta name="select:SideFloat" content="right" title="Right Sidebar" />
  206.  
  207.  
  208. <meta name="select:Layout Type" content="cellsByColumn" title="Cells by Column" />
  209. <meta name="select:Layout Type" content="cellsByRow" title="Cells by Row" />
  210. <meta name="select:Layout Type" content="fitColumns" title="Fit Columns" />
  211. <meta name="select:Layout Type" content="fitRows" title="Fit Rows" />
  212. <meta name="select:Layout Type" content="horiz" title="Horizontal" />
  213. <meta name="select:Layout Type" content="masonry" title="Masonry" />
  214. <meta name="select:Layout Type" content="masonryHorizontal" title="Masonry Horizontal" />
  215. <meta name="select:Layout Type" content="vertical" title="Vertical" />
  216.  
  217.  
  218.  
  219.  
  220. <!--Post Width in relation to Content Width -->
  221. <meta name="select:Post Width" content="25%" />
  222. <meta name="select:Post Width" content="30%" />
  223. <meta name="select:Post Width" content="32%" />
  224. <meta name="select:Post Width" content="32.75%" />
  225. <meta name="select:Post Width" content="33.33%" />
  226. <meta name="select:Post Width" content="40%" />
  227. <meta name="select:Post Width" content="50%" />
  228. <meta name="select:Post Width" content="60%" />
  229. <meta name="select:Post Width" content="70%" />
  230. <meta name="select:Post Width" content="75%" />
  231. <meta name="select:Post Width" content="80%" />
  232. <meta name="select:Post Width" content="90%" />
  233. <meta name="select:Post Width" content="100%" />
  234.  
  235. <meta name="text:Body Font" content="Open Sans" />
  236. <meta name="text:Header Font" content="Open Sans"/>
  237. <meta name="text:Link Font" content="Open Sans" />
  238. <meta name="text:Gutter Width" content="0" />
  239.  
  240.  
  241. <!--fonts-->
  242. <link href='http://fonts.googleapis.com/css?family={text:Body Font}' rel='stylesheet' type='text/css'>
  243. <link href='http://fonts.googleapis.com/css?family={text:Header Font}' rel='stylesheet' type='text/css'>
  244. <link href='http://fonts.googleapis.com/css?family={text:Link Font}' rel='stylesheet' type='text/css'>
  245.  
  246.  
  247.  
  248.  
  249.  
  250. <link rel="shortcut icon" href="{Favicon}">
  251. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  252. <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  253.  
  254.  
  255.  
  256.  
  257.  
  258. <style type="text/css">
  259. @font-face {font-family:"Accent";src:url('http://static.tumblr.com/m9qxvhq/mc9mhlhm3/accent.ttf');}
  260. @font-face {font-family:"Barkentina";src:url('http://static.tumblr.com/m9qxvhq/CH5mhn23p/barkentina_1.otf');}
  261. @font-face {font-family:"Blake";src:url('http://static.tumblr.com/m9qxvhq/bnRmhedq1/blake2.ttf');}
  262. @font-face {font-family:"Buffet";src:url('http://static.tumblr.com/m9qxvhq/0V2mhl3je/buffet_script.ttf');}
  263.  
  264. @font-face {font-family:"Jellyka";src:url('http://static.tumblr.com/iuvoef7/mNnojgowh/jellyka_bees_antique_handwriting.ttf');}
  265. @font-face {font-family:"Mayo";src:url('http://static.tumblr.com/m9qxvhq/dD6mhcpd0/mayonaise-condensed.otf');}
  266.  
  267.  
  268. @font-face {font-family:"Sachiko";src:url('http://static.tumblr.com/m9qxvhq/UTEmhi6ks/sachiko.ttf');}
  269. @font-face {font-family:"Sugah";src:url('http://static.tumblr.com/m9qxvhq/Dghmhi6ct/frenchsugar.ttf');}
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276. ::-webkit-scrollbar {width: 8px; height: 4px; background: {color:Background}; opacity:0.5;}
  277. ::-webkit-scrollbar-thumb { background-color: {color:Scrollbar}; -webkit-border-radius: 2ex; }
  278. ::-moz-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
  279. ::-moz-scrollbar-thumb { background-color: {color:Scrollbar}; -moz-border-radius: 2ex; }
  280. ::-o-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
  281. ::-o-scrollbar-thumb { background-color: {color:Scrollbar}; -o-border-radius: 2ex; }
  282.  
  283. {block:PermalinkPage}
  284. ::-webkit-scrollbar {width: 8px; height: 4px; background: {color:Background}; opacity:0.5;}
  285. ::-webkit-scrollbar-thumb { background-color: {color:Background}; -webkit-border-radius: 2ex; }
  286. ::-moz-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
  287. ::-moz-scrollbar-thumb { background-color: {color:Background}; -moz-border-radius: 2ex; }
  288. ::-o-scrollbar {width: 8px; height: 4px; background: {color:Background}; }
  289. ::-o-scrollbar-thumb { background-color: {color:Background}; -o-border-radius: 2ex; }
  290. {block:PermalinkPage}
  291.  
  292.  
  293.  
  294.  
  295. ::selection {background: #d83e5c;color: #fff;}
  296. ::-moz-selection {background: #d83e5c;color: #fff;}
  297.  
  298.  
  299.  
  300.  
  301. html {
  302. width:100%;
  303. }
  304.  
  305.  
  306.  
  307. body {
  308. cursor:url(''), crosshair;
  309. background: {color:Background};
  310. width:100%;
  311. font-family:'{text:Body Font}';
  312.  
  313.  
  314. {block:PermalinkPage}
  315. height:100vh;
  316. overflow:hidden;
  317. {/block:PermalinkPage}
  318.  
  319. }
  320.  
  321.  
  322. {block:IfHeadSpace}
  323. .headspace{
  324. width:100%;
  325. height:21vh;
  326. padding-top:10vh;
  327. text-align:center;
  328. vertical-align:middle;
  329. font-size:50px;
  330. {/block:IfHeadSpace}
  331. font-family:{text:Header Font};
  332.  
  333.  
  334.  
  335. }
  336.  
  337. .header {
  338.  
  339. }
  340.  
  341.  
  342. #content {
  343. {block:IfNotHorizontal}
  344. width:{select:Content Width};
  345. {select:Float};
  346. {/block:IfNotHorizontal}
  347. {block:IfHorizontal}
  348. height:{select:Content Width};
  349. max-height:100vh;
  350. vertical-align:middle;
  351. {/block:IfHorizontal}
  352.  
  353. {block:PermalinkPage}
  354. width:100%;
  355. {/block:PermalinkPage}
  356.  
  357. }
  358.  
  359.  
  360.  
  361.  
  362.  
  363. a, a:hover, a:visited {
  364. cursor:inherit;
  365. text-decoration:none;
  366. color:inherit;
  367. }
  368.  
  369. ul {
  370. list-style-type: none;
  371. }
  372.  
  373.  
  374. #nav {
  375. float: left;
  376. margin-top: 20px;
  377. position: fixed;
  378. z-index:1000;
  379. right:0px;
  380. margin-right:auto;
  381. position:fixed;
  382. }
  383.  
  384. #nav a {
  385. text-decoration: none;
  386. font-size: 15px;
  387. line-height: 25px;
  388. color: #595959;
  389. }
  390.  
  391. #nav a:hover {
  392. color: #393939;
  393. }
  394.  
  395. #nav a:active {
  396. color: #151515;
  397. }
  398.  
  399.  
  400. .tumblrAutoPager_page_info, .tumblrAutoPager_page_separator {display:none;}
  401. #infscr-loading {display:none;}
  402. .navigation {display:none!important;}
  403.  
  404.  
  405.  
  406. .isotope-item {
  407. z-index: 2;
  408. }
  409.  
  410. .isotope-hidden.isotope-item {
  411. pointer-events: none;
  412. z-index: 1;
  413. }
  414.  
  415. .isotope,
  416. .isotope .isotope-item {
  417. /* change duration value to whatever you like */
  418. -webkit-transition-duration: 0.8s;
  419. -moz-transition-duration: 0.8s;
  420. transition-duration: 0.8s;
  421. }
  422.  
  423. .isotope {
  424. -webkit-transition-property: height, width;
  425. -moz-transition-property: height, width;
  426. transition-property: height, width;
  427. }
  428.  
  429. .isotope .isotope-item {
  430. -webkit-transition-property: -webkit-transform, opacity;
  431. -moz-transition-property: -moz-transform, opacity;
  432. transition-property: transform, opacity;
  433. }
  434.  
  435.  
  436.  
  437. .box {
  438. cursor:inherit;
  439. margin-bottom:{text:Gutter Width}px;
  440. font-family:'{text:Body Font}';
  441. font-size:10px;
  442. {block:IfNotHorizontal}
  443. float: left;
  444. width:{select:Post Width};
  445. {/block:IfNotHorizontal}
  446.  
  447. {block:IfHorizontal}
  448. width:400px;
  449. {/block:IfHorizontal}
  450.  
  451.  
  452. {block:IfFade}
  453. opacity:{select:Fade Opacity};
  454. -webkit-transition-duration: 0.8s;
  455. -moz-transition-duration: 0.8s;
  456. transition-duration: 0.8s;
  457. {/block:IfFade}
  458.  
  459. }
  460.  
  461.  
  462.  
  463. .box:hover {
  464. {block:IfFade}
  465. opacity:1.0;
  466. -webkit-transition-duration: 0.8s;
  467. -moz-transition-duration: 0.8s;
  468. transition-duration: 0.8s;
  469. {/block:IfFade}
  470. }
  471.  
  472.  
  473. .text {
  474. height: 50vh;
  475. display:block;
  476. text-overflow: ellipsis;
  477. -o-text-overflow: ellipsis;
  478. -ms-text-overflow: ellipsis;
  479. overflow: hidden;
  480. white-space: nowrap;
  481. }
  482.  
  483.  
  484. .permalink-post {
  485. font-size:1.3vh;
  486. height:50vh;
  487. text-align:center;
  488. /* position: relative;
  489. top: 50%;
  490. transform: translateY(-50%); to vertial align*/
  491.  
  492. }
  493.  
  494. .permalink-post .text {
  495. overflow:scroll;
  496. }
  497.  
  498.  
  499.  
  500. /* note the :first-chile thing doesn't work even with the img: specifier*/
  501. .permalink-photoset img { display:none; width:auto; height:auto; max-width:60%; max-height:100%; margin:auto;}
  502. .permalink-photoset img:first-child { display:block; }
  503.  
  504. .photo {
  505.  
  506. }
  507.  
  508. .photoset{
  509.  
  510. }
  511.  
  512.  
  513.  
  514. {block:IfHorizontal}
  515. {block:ifStackPhotoset}
  516. .photoset-wrap {}
  517. .photoset-wrap img { display: none; width:100%; }
  518. .photoset-wrap img:first-child { display: block; width:100%; }
  519. {/block:ifStackPhotoset}
  520. {/block:IfHorizontal}
  521.  
  522. {block:ifStackPhotoset}
  523. .photoset-wrap {}
  524. .photoset-wrap img { display: none; width:100%; }
  525. .photoset-wrap img:first-child { display: block; width:100%; }
  526. {/block:ifStackPhotoset}
  527.  
  528. .photocount, .photocount a {
  529. right:0px;
  530. bottom:0px;
  531. position:absolute;
  532. font-size:10px;
  533. font-family:;
  534. color:{color:Background};
  535. }
  536.  
  537.  
  538.  
  539.  
  540.  
  541. #vignette, .vignette{opacity:0!important;}.lightbox-caption {color:#000;}
  542. #tumblr_lightbox,.tmblr-lightbox{background:rgba(255,255,255,0.8)!important;}
  543. #tumblr_lightbox img, .lightbox-image {box-shadow:none!important;border-radius:0px!important;}
  544.  
  545.  
  546.  
  547.  
  548.  
  549. .pagination {
  550. padding-top:5vh;
  551. height:20vh;
  552. width:100vw;
  553. bottom:0px;
  554. color:black;
  555. }
  556.  
  557. .load-more {
  558. font-family:'{text:Link Font}';
  559. left:50vw;
  560. margin-top:7vh;
  561. border:0;
  562. padding-top:2vh;
  563. padding-bottom:2vh;
  564. padding-left:10vw;
  565. padding-right:10vw;
  566. background:#f0f0f0;
  567. color:#9f9f9f;
  568. -webkit-transition-duration: 0.8s;
  569. -moz-transition-duration: 0.8s;
  570. transition-duration: 0.8s;
  571.  
  572. }
  573.  
  574.  
  575. .load-more:hover {
  576. background:{color:Links};
  577. color:{color:Background};
  578. -webkit-transition-duration: 0.8s;
  579. -moz-transition-duration: 0.8s;
  580. transition-duration: 0.8s;
  581. }
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590. {block:ifSidebar}
  591. {/block:ifSidebar}
  592. .sidebar {
  593. {select:SideFloat}:0px;
  594. float:{select:SideFloat};
  595. width:calc(100% - {select:Content Width} );
  596. background-color:cyan;
  597.  
  598. }
  599.  
  600.  
  601.  
  602.  
  603. .portrait {
  604. vertical-align:middle;
  605. border-radius:35px;
  606. opacity:0.7;
  607. -webkit-transition-duration: 0.8s;
  608. -moz-transition-duration: 0.8s;
  609. transition-duration: 0.8s;
  610. }
  611.  
  612.  
  613. .portrait:hover {
  614. opacity:1.0;
  615. border-radius:0px;
  616. -webkit-transition-duration: 0.8s;
  617. -moz-transition-duration: 0.8s;
  618. transition-duration: 0.8s;
  619.  
  620.  
  621. }
  622.  
  623.  
  624.  
  625. </style>
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636. </head>
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649. <body>
  650.  
  651.  
  652.  
  653.  
  654. {block:IfHeadSpace}
  655. <div class="headspace"><a href="{BlogURL}" class="header">{Title}</a></div>
  656. {/block:IfHeadSpace}
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663. <div id="content">
  664. {block:Posts}
  665.  
  666. {block:IndexPage}
  667.  
  668. {block:Text}
  669. <div class="box text">
  670. <u><a href="{Permalink}">{Title}</a></u>
  671. {Body}
  672. </div>
  673. {/block:Text}
  674.  
  675.  
  676.  
  677. {block:Photo}
  678.  
  679. <a href="#">
  680. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="box photo" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false" />
  681. </a>
  682. {/block:Photo}
  683.  
  684.  
  685. {block:Photoset}
  686. <div class="box">
  687.  
  688. {block:ifNotStackPhotoset}
  689. <!--preset code to abide by pxu -->
  690. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
  691.  
  692. {block:Photos}
  693. <div class="photo-data">
  694. <div class="pxu-photo">
  695. <img src="{PhotoURL-HighRes}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}">
  696. </div>
  697. <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}">
  698. </a>
  699. </div>
  700. {/block:Photos}
  701. </div>
  702. {block:ifNotStackPhotoset}
  703.  
  704.  
  705.  
  706. {block:ifStackPhotoset}
  707. {block:IndexPage}
  708. <div class="photoset-wrap">
  709. {block:Photos}
  710. <!-- <a href="#"> for some reason loads all images in photoset-->
  711. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false" />
  712. <!-- </a> -->
  713.  
  714. {/block:Photos}
  715. <div class="photocount"><a href="{Permalink}">{PhotoCount}</a></div>
  716. </div>
  717. {/block:IndexPage}
  718. {/block:ifStackPhotoset}
  719.  
  720.  
  721.  
  722.  
  723. {block:ifCaptions}
  724. {Caption}
  725. {/block:ifCaptions}
  726.  
  727. </div>
  728. {/block:Photoset}
  729.  
  730. {/block:IndexPage}
  731.  
  732.  
  733.  
  734.  
  735. {block:PermalinkPage}
  736.  
  737.  
  738. <div class="permalink-post">
  739.  
  740. {block:Text}
  741. <div class="text">
  742. {Title}
  743. {Body}
  744. </div>
  745. {/block:Text}
  746.  
  747. {block:Photo}
  748. <img src="{PhotoURL-HighRes}" style="width:auto; height:100%; margin:auto"/>
  749. {block:Photo}
  750.  
  751. {block:Photoset}
  752. <div class="permalink-post permalink-photoset" >
  753. {block:Photos}
  754. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />
  755. {/block:Photos}
  756. </div>
  757. <!-- <div style="width:300px; margin:auto;">{Photoset}</div> whole photoset-->
  758.  
  759. {block:Photoset}
  760.  
  761. </div>
  762.  
  763.  
  764. {/block:PermalinkPage}
  765.  
  766.  
  767.  
  768.  
  769. {/block:Posts}
  770. </div>
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786. {block:ifSidebar}
  787. {block:IndexPage}
  788. <div class="sidebar">
  789.  
  790. <center><img src="{PortraitURL-64}" class="portrait" /></center>
  791.  
  792. </div>
  793. {block:IndexPage}
  794. {/block:ifSidebar}
  795.  
  796.  
  797.  
  798. <div class="navigation">
  799. {block:Pagination}
  800. {block:NextPage}
  801. <p id="page_nav"><a style="float:right" href="{NextPage}" id="next">Older ?</a>
  802. {/block:NextPage}
  803. {block:PreviousPage}
  804. <a style="float:left" href="{PreviousPage}">? Newer</a></p>
  805. {/block:PreviousPage}
  806. {/block:Pagination}
  807. </div>
  808.  
  809.  
  810. {block:ifManualInfiniteScroll}
  811. {block:Pagination}
  812. <div class="pagination">
  813. <center><button class="load-more">load more</button></center>
  814. </div>
  815. {/block:Pagination}
  816. {/block:ifManualInfiniteScroll}
  817.  
  818.  
  819.  
  820. {block:PermalinkPage}
  821. {block:PermalinkPagination}
  822. {block:PreviousPost} <a href="{PreviousPost}" style="float:right; right:0px; bottom:0px; position:fixed;"> Older </a>{/block:PreviousPost}
  823. {block:NextPost}<a href="{NextPost}" style="float:left; left:0px; bottom:0px; position:fixed;">Newer</a> {/block:NextPost}
  824. {/block:PermalinkPagination}
  825. {block:PermalinkPage}
  826.  
  827.  
  828.  
  829. </body>
  830. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement