Skip to content

Commit

Permalink
updated function names, trying to get modal images to shrinkwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
field2 committed Dec 12, 2017
1 parent a95151b commit 2630bbb
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions shrinkwrap_images.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,27 @@ var gifpath = '<img src="' + plugindir + '" class="eol_si_clear">';
var eol_si_img = function() {
jQuery("img").wrap('<div class="eol_si_shrink"></div><!-- /.eol_si_shrink -->');
jQuery("img").after(gifpath);

};

var eol_si_test = function() {
alert("yes");
};




// Run shrinkwrap on doc load
jQuery(document).ready(function() {
jQuery(document).on('load', function() {
eol_si_img();
});

jQuery(document).on('ready', '#swipebox-slider', function(){
alert("yes");
});

});





0 comments on commit 2630bbb

Please sign in to comment.