Team:TU Delft/PartViewExample

From 2010.igem.org

(Difference between revisions)
 
(14 intermediate revisions not shown)
Line 1: Line 1:
-
 
<html>
<html>
<style>
<style>
-
#partview div {
+
.partview_label {
 +
font-weight: bold;
 +
width: 200px;
 +
}
 +
.partview_data {
margin: 10px;
margin: 10px;
 +
font-family: courier;
 +
width: 400px;
 +
overflow: auto;
}
}
</style>
</style>
-
<div id="#partview">
+
<div id="partview">
-
<div class="partview_name"></div>
+
<div class="partview_label">Part Name:</div><div class="partview_name partview_data"></div>
-
<br>
+
<div class="partview_label">Part Description:</div><div class="partview_desc partview_data"></div>
-
<div class="partview_desc"></div>
+
<div class="partview_label">Part Author:</div><div class="partview_author partview_data"></div>
-
<br>
+
<div class="partview_label">Part Sequence Length:</div><div class="partview_sequence_len partview_data"></div>
-
<div class="partview_author"></div>
+
<div class="partview_label">Part Sequence:</div><div class="partview_sequence partview_data"></div>
</div>
</div>
Line 21: Line 27:
$(".partview_desc").text(part.desc);
$(".partview_desc").text(part.desc);
$(".partview_author").text(part.author);
$(".partview_author").text(part.author);
 +
$(".partview_sequence").text(part.sequence);
 +
$(".partview_sequence_len").text(part.sequence.length);
}
}
</script>
</script>
Line 26: 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}}