Team:Cambridge/TheTeam

From 2010.igem.org

(Difference between revisions)
Line 4: Line 4:
<!-- Start of Flickr Badge -->
<!-- Start of Flickr Badge -->
<style type="text/css">
<style type="text/css">
-
.zg_div {margin:0px 5px 5px 0px; width:117px;}
+
#flickr_badge_source_txt {padding:0; font: 11px Arial, Helvetica, Sans serif; color:#666666;}
-
.zg_div_inner {border: solid 1px #000000; background-color:#ffffff; color:#666666; text-align:center; font-family:arial, helvetica; font-size:11px;}
+
#flickr_badge_icon {display:block !important; margin:0 !important; border: 1px solid rgb(0, 0, 0) !important;}
-
.zg_div a, .zg_div a:hover, .zg_div a:visited {color:#3993ff; background:inherit !important; text-decoration:none !important;
+
#flickr_icon_td {padding:0 5px 0 0 !important;}
-
}
+
.flickr_badge_image {text-align:center !important;}
 +
.flickr_badge_image img {border: 1px solid black !important;}
 +
#flickr_badge_uber_wrapper {width:150px;}
 +
#flickr_www {display:block; text-align:center; padding:0 10px 0 10px !important; font: 11px Arial, Helvetica, Sans serif !important; color:#3993ff !important;}
 +
#flickr_badge_uber_wrapper a:hover,
 +
#flickr_badge_uber_wrapper a:link,
 +
#flickr_badge_uber_wrapper a:active,
 +
#flickr_badge_uber_wrapper a:visited {text-decoration:none !important; background:inherit !important;color:#3993ff;}
 +
#flickr_badge_wrapper {background-color:#ffffff;border: solid 1px #000000}
 +
#flickr_badge_source {padding:0 !important; font: 11px Arial, Helvetica, Sans serif !important; color:#666666 !important;}
</style>
</style>
-
<script type="text/javascript">
+
<table id="flickr_badge_uber_wrapper" cellpadding="0" cellspacing="10" border="0"><tr><td><a href="http://www.flickr.com" id="flickr_www">www.<strong style="color:#3993ff">flick<span style="color:#ff1c92">r</span></strong>.com</a><table cellpadding="0" cellspacing="10" border="0" id="flickr_badge_wrapper">
-
zg_insert_badge = function() {
+
<script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?show_name=1&count=10&display=random&size=m&layout=v&source=user&user=52129837%40N08"></script>
-
var zg_bg_color = 'ffffff';
+
<tr>
-
var zgi_url = 'http://www.flickr.com/apps/badge/badge_iframe.gne?zg_bg_color='+zg_bg_color+'&zg_person_id=52129837%40N08';
+
<td id="flickr_badge_source" valign="center" align="center">
-
document.write('<iframe style="background-color:#'+zg_bg_color+'; border-color:#'+zg_bg_color+'; border:none;" width="113" height="151" frameborder="0" scrolling="no" src="'+zgi_url+'" title="Flickr Badge"><\/iframe>');
+
<table cellpadding="0" cellspacing="0" border="0"><tr>
-
if (document.getElementById) document.write('<div id="zg_whatlink"><a href="http://www.flickr.com/badge.gne" style="color:#3993ff;" onclick="zg_toggleWhat(); return false;">What is this?<\/a><\/div>');
+
<td width="10" id="flickr_icon_td"><a href="http://www.flickr.com/photos/52129837@N08/"><img id="flickr_badge_icon" alt="Cambridge iGEM's items" src="http://l.yimg.com/g/images/buddyicon.jpg#52129837@N08" align="left" width="48" height="48"></a></td>
-
}
+
<td id="flickr_badge_source_txt"><nobr>Go to</nobr> <a href="http://www.flickr.com/photos/52129837@N08/">Cambridge iGEM's photostream</a></td>
-
zg_toggleWhat = function() {
+
</tr></table>
-
document.getElementById('zg_whatdiv').style.display = (document.getElementById('zg_whatdiv').style.display != 'none') ? 'none' : 'block';
+
</td>
-
document.getElementById('zg_whatlink').style.display = (document.getElementById('zg_whatdiv').style.display != 'none') ? 'none' : 'block';
+
</tr>
-
return false;
+
</table>
-
}
+
</td></tr></table>
-
</script>
+
-
<div class="zg_div"><div class="zg_div_inner"><a href="http://www.flickr.com">www.<strong style="color:#3993ff">flick<span style="color:#ff1c92">r</span></strong>.com</a><br>
+
-
<script type="text/javascript">zg_insert_badge();</script>
+
-
<div id="zg_whatdiv">This is a Flickr badge showing public photos and videos from <a href="http://www.flickr.com/photos/52129837@N08">Cambridge iGEM</a>. Make your own badge <a href="http://www.flickr.com/badge.gne">here</a>.</div>
+
-
<script type="text/javascript">if (document.getElementById) document.getElementById('zg_whatdiv').style.display = 'none';</script>
+
-
</div>
+
-
</div>
+
<!-- End of Flickr Badge -->
<!-- End of Flickr Badge -->
 +
</div>
</div>
</html>
</html>

Revision as of 11:31, 16 July 2010