Difference between revisions of "Team:Cambridge-JIC/Gallery"
Maoenglish (Talk | contribs) |
|||
Line 33: | Line 33: | ||
function addGal(id, url, title) { | function addGal(id, url, title) { | ||
− | $("#gall"+id).append($('<a class="fancybox" rel=" | + | $("#gall"+id).append($('<a class="fancybox" rel="gallery'+id+'1" href="'+url+'" title="'+title+'" style="height: 200px;display: inline-block;background: transparent url('+url+') no-repeat; max-height: 200px; background-size: cover;"></a>')); |
} | } | ||
Revision as of 03:16, 19 September 2015