Team:BIOTEC Dresden/Minutes
From 2010.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<head> | <head> | ||
<script type="text/JavaScript" src="http://endo.bio.tu-dresden.de/igem/scripthost/imgpreview.min.js"></script> | <script type="text/JavaScript" src="http://endo.bio.tu-dresden.de/igem/scripthost/imgpreview.min.js"></script> | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</head> | </head> | ||
<body> | <body> | ||
Line 90: | Line 65: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | <script type="text/javascript"> | ||
+ | $(function(){ | ||
+ | $('#preview a').imgPreview({ | ||
+ | containerID: 'imgPreviewWithStyles', | ||
+ | /* Change srcAttr to rel: */ | ||
+ | srcAttr: 'rel', | ||
+ | imgCSS: { | ||
+ | // Limit preview size: | ||
+ | height: 200 | ||
+ | }, | ||
+ | // When container is shown: | ||
+ | onShow: function(link){ | ||
+ | $('<span>' + link.href + '</span>').appendTo(this); | ||
+ | }, | ||
+ | // When container hides: | ||
+ | onHide: function(link){ | ||
+ | $('span', this).remove(); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> | ||
{{Biotec_Dresden/Bottom}} | {{Biotec_Dresden/Bottom}} |
Revision as of 21:42, 22 October 2010