The best way to quickly compare what's changed between two .js files is to use a comparison software such as Beyond Compare. As far as what's changed in my modified .js file above compared to the original, the parts in red are the new additions:
Code:
$.thumbnailviewer2.showimage($targetimage, s)
$targetimage.css({cursor:'pointer'}).unbind('click').bind('click', function(){
window.open($anchor.attr('data-largeurl'), "", "width=600,height=600")
return false
})
})
$loadarea.data('$queueimage', $hiddenimage) //remember currently loading image as image being queued to load
}
and:
Code:
else
$hiddenimage.bind('load', function(){$hiddenimage.trigger('loadevt')})
return false
})
$anchor.unbind('click').bind('click', function(){
window.open($anchor.attr('data-url'), "", "width=600,height=600")
return false
})
Bookmarks