Advertisement
yLii

Infinite Isotope 30 :D

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