Team:Michigan/Outreach
From 2013.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
unityObjectUrl = unityObjectUrl.replace("http://", "https://ssl-"); | unityObjectUrl = unityObjectUrl.replace("http://", "https://ssl-"); | ||
document.write('<script type="text\/javascript" src="' + unityObjectUrl + '"><\/script>'); | document.write('<script type="text\/javascript" src="' + unityObjectUrl + '"><\/script>'); | ||
- | --><!-- | + | --> |
+ | </script> | ||
+ | <script type="text/javascript"> | ||
+ | <!-- | ||
var config = { | var config = { | ||
width: 960, | width: 960, | ||
Line 18: | Line 21: | ||
}; | }; | ||
- | var u = new UnityObject2(config); | + | var u = new UnityObject2(config); |
jQuery(function() { | jQuery(function() { | ||
Line 54: | Line 57: | ||
} | } | ||
}); | }); | ||
- | u.initPlugin(jQuery("#unityPlayer")[0], " | + | u.initPlugin(jQuery("#unityPlayer")[0], "APP Web.unity3d"); |
}); | }); | ||
--> | --> | ||
Line 111: | Line 114: | ||
} | } | ||
--> | --> | ||
- | |||
- | |||
- | |||
- | |||
</style> | </style> | ||
</head> | </head> | ||
<body> | <body> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<p class="header"><span>Unity Web Player | </span>Plasmid Paul</p> | <p class="header"><span>Unity Web Player | </span>Plasmid Paul</p> | ||
<div class="content"> | <div class="content"> |
Revision as of 21:12, 21 September 2013
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Unity Web Player | Plasmid Paul