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