Template:Team:TU Delft/PartView
From 2010.igem.org
(Difference between revisions)
(New page: {{{part}}}) |
|||
Line 1: | Line 1: | ||
- | {{{part}}} | + | <html> |
+ | <div id="jsonp</html>{{{part}}}<html>"></div> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | var partName = "</html>{{{part}}}<html>"; | ||
+ | var webserviceURL = "http://igempartview.appspot.com/query/json?jsonp=jsonpCallback"; | ||
+ | webserviceURL += partName + "¶m=name&value=" + partName; | ||
+ | |||
+ | var html = '<scr'+'ipt src="' + webserviceURL + '"></scr'+'ipt>'; | ||
+ | $("#jsonp"+partName).insert(html); | ||
+ | </script> | ||
+ | </html> |
Revision as of 19:22, 26 October 2010