Template:Team:Calgary/Figure
From 2012.igem.org
(Difference between revisions)
(6 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
<html> | <html> | ||
<head> | <head> | ||
- | < | + | <script> |
- | + | jQuery(document).ready(function($){ | |
- | + | //figure box positioning | |
- | + | if($('.figurebox div.params p.position:contains("left")').length > 0){ | |
- | + | $(this).closest('.figurebox').css("float", "left"); | |
- | + | ||
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | + | ||
- | + | ||
- | + | }); | |
- | } | + | |
- | + | </script> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
</head> | </head> | ||
<body> | <body> | ||
<div class="figurebox"> | <div class="figurebox"> | ||
- | <div class=" | + | <div class="params"> |
- | </html> | + | <p class="size"></html>{{{SIZE|400px}}}<html></p> |
- | + | <p class="position"></html>{{{POSITION|right}}}<html></p> | |
- | + | ||
</div> | </div> | ||
- | <div class=" | + | <div class="image"> |
- | + | </html>{{{IMAGE|No image found.}}}<html> | |
+ | </div> | ||
+ | |||
+ | <div class="caption"> | ||
+ | <p></html>{{{CAPTION|No caption available.}}}<html></p> | ||
</div> | </div> | ||
</div> | </div> | ||
- | |||
</body> | </body> | ||
+ | |||
</html> | </html> | ||
- | |||
- |
Latest revision as of 20:00, 5 September 2012
400px
right
No image found.