gnopaste

gnopaste database reset @ 19/03/2013

Name
Anonymous
Scriptlanguage
Plain Text
Tabwidth
4
Date
04/27/2013 11:04:49 pm
IP
::ffff:77.177.81.22

The user was too lazy to give a description

  1.                     $('#content .entries').infinitescroll({
  2.                         debug          : false,
  3.                         nextSelector    : "#posts-nav .nav-all a, #posts-nav .nav-next a",
  4.                         loadingImg      : ( window.devicePixelRatio > 1 ? "http://www.avwproductions.com/techheads/wordpress/wp-content/themes/pinboard/images/ajax-loading_2x.gif" : "http://www.avwproductions.com/techheads/wordpress/wp-content/themes/pinboard/images/ajax-loading.gif" ),
  5.                         loadingText    : "Loading more posts …",
  6.                         donetext        : "There are no more posts to display.",
  7.                         navSelector    : "#posts-nav",
  8.                         contentSelector : "#content .entries",
  9.                         itemSelector    : "#content .entries .post",
  10.                     }, function(entries){
  11.                         var $entries = $( entries ).css({ opacity: 0 });
  12.                         $entries.imagesLoaded(function(){
  13.                             $entries.animate({ opacity: 1 });
  14.                             $content.masonry( 'appended', $entries, true );
  15.                         });
  16.                         if( ($(window).width() > 960) || ($(document).width() > 960) ) {
  17.                             // Viewport is greater than tablet: portrait
  18.                         } else {
  19.                             $('#content .post').each(function() {
  20.                                 pinboard_move_elements($(this));
  21.                             });
  22.                         }
  23.                         $('audio,video').mediaelementplayer({
  24.                             videoWidth: '100%',
  25.                             videoHeight: '100%',
  26.                             audioWidth: '100%',
  27.                             alwaysShowControls: true,
  28.                             features: ['playpause','progress','tracks','volume'],
  29.                             videoVolume: 'horizontal'
  30.                         });
  31.                         $(".entry-attachment, .entry-content").fitVids({ customSelector: "iframe, object, embed"});
  32.                         $('.entry-content a[href$=".jpg"],.entry-content a[href$=".jpeg"],.entry-content a[href$=".png"],.entry-content a[href$=".gif"],a.colorbox').colorbox();
  33.                     });
submitter » gnopaster | imprint « imprint     
» Terms of use «