Skip to content

Instantly share code, notes, and snippets.

@armitage
Created February 15, 2010 16:36
Show Gist options
  • Save armitage/304774 to your computer and use it in GitHub Desktop.
Save armitage/304774 to your computer and use it in GitHub Desktop.
image list should look like this
<ol>
<li><img src="foo.jpg" descr="http://example.com"/></li>
</ol>
92: change 'span' to 'a'
127: // find caption link
var _cap_linksrc = _a ? _a.attr('descr') : _img.attr('descr');_img.attr('descr');
308: _wrapper.siblings('.caption').attr('href','_cap_linksrc');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment