Team:TU Delft/PartViewExample
From 2010.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<style> | <style> | ||
- | .partview_label { font-weight: bold; } | + | .partview_label { |
+ | font-weight: bold; | ||
+ | width: 200px; | ||
+ | } | ||
.partview_data div { | .partview_data div { | ||
margin: 10px; | margin: 10px; | ||
Line 13: | Line 16: | ||
<div class="partview_label">Part Description:</div><div class="partview_desc partview_data"></div> | <div class="partview_label">Part Description:</div><div class="partview_desc partview_data"></div> | ||
<div class="partview_label">Part Author:</div><div class="partview_author partview_data"></div> | <div class="partview_label">Part Author:</div><div class="partview_author partview_data"></div> | ||
+ | <div class="partview_label">Part Sequence Length:</div><div class="partview_sequence_len partview_data"></div> | ||
<div class="partview_label">Part Sequence:</div><div class="partview_sequence partview_data"></div> | <div class="partview_label">Part Sequence:</div><div class="partview_sequence partview_data"></div> | ||
</div> | </div> | ||
Line 24: | Line 28: | ||
$(".partview_author").text(part.author); | $(".partview_author").text(part.author); | ||
$(".partview_sequence").text(part.sequence); | $(".partview_sequence").text(part.sequence); | ||
+ | $(".partview_sequence_len").text(part.sequence.length); | ||
} | } | ||
</script> | </script> |
Revision as of 19:54, 26 October 2010
Part Name:
Part Description:
Part Author:
Part Sequence Length:
Part Sequence: