How to make this into a self contained jQuery plugin? Works inline.
- by Jannis
Hi,
I have been trying to make this to be a little jQuery plugin that I can reuse in the future without having to write the following into my actions.js file in full.
This works when loaded in the same file where I set the height using my variable tallest.
var tallest = null;
$('.slideshow img').each(function(index) {
if ($(this).height()…