gnopaste

gnopaste database reset @ 19/03/2013

Name
Anonymous
Scriptlanguage
Plain Text
Tabwidth
4
Date
04/29/2013 03:15:32 pm
IP
::ffff:131.173.194.60

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.                         
  11.                     }, function(entries){
  12.                         var $entries = $( entries ).css({ opacity: 0 });
  13.                         $entries.imagesLoaded(function(){
  14.  
  15.                             $entries.animate({ opacity: 1 });
  16.                             $content.masonry( 'appended', $entries, true );
  17.                         });
  18.                         if( ($(window).width() > 960) || ($(document).width() > 960) ) {
  19.                             // Viewport is greater than tablet: portrait
  20.                         } else {
  21.                             $('#content .post').each(function() {
  22.                                 pinboard_move_elements($(this));
  23.                             });
  24.                         }
  25.                         $('audio,video').mediaelementplayer({
  26.                             
  27.                             videoWidth: '100%',
  28.                             videoHeight: '100%',
  29.                             audioWidth: '100%',
  30.                             alwaysShowControls: true,
  31.                             features: ['playpause','progress','tracks','volume'],
  32.                             videoVolume: 'horizontal'
  33.                         });
  34.                         
  35.                         $(".entry-attachment, .entry-content").fitVids({ customSelector: "iframe, object, embed"});
  36.                                                     $('.entry-content a[href$=".jpg"],.entry-content a[href$=".jpeg"],.entry-content a[href$=".png"],.entry-content a[href$=".gif"],a.colorbox').colorbox();
  37.                                             });
  38.                                             $('audio,video').mediaelementplayer({
  39.             videoWidth: '100%',
  40.             videoHeight: '100%',
  41.             audioWidth: '100%',
  42.             alwaysShowControls: true,
  43.             features: ['playpause','progress','tracks','volume'],
  44.             videoVolume: 'horizontal'
  45.         });
  46.         $(".entry-attachment, .entry-content").fitVids({ customSelector: "iframe, object, embed"});
submitter » gnopaster | imprint « imprint     
» Terms of use «