Team:TU Delft/PartViewExample

From 2010.igem.org

(Difference between revisions)
 
(8 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style>
<style>
-
#partview_label { font-weight: bold; }
+
.partview_label {  
-
.partview_data div {
+
font-weight: bold;  
 +
width: 200px;
 +
}
 +
.partview_data {
margin: 10px;
margin: 10px;
font-family: courier;
font-family: courier;
 +
width: 400px;
 +
overflow: auto;
}
}
</style>
</style>
Line 11: 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 22: 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>
Line 27: Line 34:
</html>
</html>
-
{{Team:TU_Delft/PartView|part=BBa_B0032|callback=PartInfoCallback}}
+
{{Team:TU_Delft/PartView|part=BBa_K398005|callback=PartInfoCallback}}
 +
 
 +
Made by using template [[Template:Team:TU_Delft/PartView|PartView]]
 +
<html>
 +
<pre>
 +
{{Team:TU_Delft/PartView|part=BBa_K398005|callback=PartInfoCallback}}
 +
</pre></html>

Latest revision as of 20:02, 26 October 2010

Part Name:
Part Description:
Part Author:
Part Sequence Length:
Part Sequence:

Made by using template PartView

 {{Team:TU_Delft/PartView|part=BBa_K398005|callback=PartInfoCallback}}