I hereby claim:
- I am laurendavissmith on github.
- I am laurendavissmith (https://keybase.io/laurendavissmith) on keybase.
- I have a public key ASD6JUHXdTcmPrGvuRXsvuQzWM4n3TdnsY8Y1FOh6qyQbwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| nav { display: inline; } | |
| #site-title { float: left; margin-right: 20px; } |
| pulse.on('dataloaded', function(e) { | |
| $.each(e.items, function() { | |
| console.log(this.id); | |
| }); | |
| }); |
| var scrollTo = function() { | |
| if ( imgViewing >= totalImgs ) { | |
| imgViewing = ( totalImgs - 1 ); | |
| } else if ( imgViewing < 0 ) { | |
| imgViewing = 0; | |
| } | |
| var newLeftPos = $('#lane img:eq(' + imgViewing + ')').closest('.cell').offset().left; |
| <div id="pulse_strip"> | |
| <!-- Ideally you will want to use a loop here to create the ID's so they are dynamic and not hardcoded --> | |
| <a href="" data-id="1"><span>1</span></a> | |
| <a href="" data-id="2"><span>2</span></a> | |
| <a href="" data-id="3"><span>3</span></a> | |
| </div> | |
| <p> | |
| <koken:pulse jsvar="pulse" autostart="false" fallbacktext="No featured content found. Please assign some in the Library." /> | |
| </p> |
| <style type="text/css"> | |
| .pulse_overlay { padding: 10px; opacity: .5; background: #000; color: #fff; text-align: right; position: absolute; font-size: 11px; } | |
| .pulse-arrow { position: absolute; top: 50%; margin-top: -52px; z-index: 1000; font-size: 70px; color: #fff; cursor: pointer; opacity: .75; font-weight: bold; } | |
| .pulse-left { left: 10px; } | |
| .pulse-right { right: 10px; } | |
| </style> | |
| <script> | |
| (function() { | |
| var leftArr = $('<div class="pulse-left pulse-arrow" data-action="next" />').html('⟨'), |
| (function() { | |
| var overlay = $('<div class="__overlay__" />').css({ | |
| padding: '10px', | |
| opacity: '.5', | |
| background: '#000', | |
| color: '#fff', | |
| textAlign: 'right', | |
| position: 'absolute', | |
| fontSize: '11px' | |
| }) |
| <koken:if false="pjax"> | |
| <koken:include file="inc/head.html" /> | |
| </koken:not> | |
| <koken:load infinite="true"> | |
| <koken:head> | |
| <meta property="og:site_name" content="{{ site.title }}" /> | |
| <meta property="og:title" content="{{ album.title strip_html="true" }}" /> | |
| <meta property="og:description" content="{{ album.summary strip_html="true" }}" /> |
| <koken:pulse jsvar="pulse" fallbacktext="No featured photos found. Please assign them in the Library." /> | |
| <div id="exif-text"></div> | |
| <script> | |
| pulse.on( 'transitionstart', function(e) { | |
| var exif_fields = ['make','model','aperture'], // Insert the exif fields you would like shown eg. 'make','model','aperture' | |
| exif_element = $('#exif-text'), // Change to the selector of where to insert the exif data | |
| wrap = $('<span/>'); // Change to whatever tag the exif field should be wrapped with |
| YUI({ | |
| base : '[...]/yui/demos/loader-config-groups/library/', | |
| combine : true, | |
| comboBase : '[...]/combo/?b=yui/demos/loader-config-groups&f=', | |
| root : 'library/', | |
| groups : { | |
| gallery : { | |
| base : '[...]/yui/demos/loader-config-groups/gallery/', | |
| root : 'gallery/', | |
| combine : true, |