Difference between revisions of "Team:Cambridge-JIC/Gallery"
Simonhkswan (Talk | contribs) |
Simonhkswan (Talk | contribs) |
||
Line 3: | Line 3: | ||
<style> | <style> | ||
a.fancybox{ | a.fancybox{ | ||
− | + | width: 200px !important; max-height: 150px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
</style> | </style> | ||
Line 142: | Line 137: | ||
function addGal2(url, title) { | function addGal2(url, title) { | ||
− | $("#gall2").append($(' | + | $("#gall2").append($('<a class="fancybox" rel="gallery1" href="'+url+'" title="'+title+'"><img src="'+url+'" style="width: 200px" alt="" /></a>')); |
} | } | ||
Revision as of 14:35, 18 September 2015