* MoonlightTypeConverter.cs: Convert CacheMode's from strings.
[moon.git] / test / xaml / clock / clock26.html
blob0ddc9e85b6aeb632015297a89db1c9949bf770c6
1 <html>
2 <head>
3 <script type="text/javascript" src="Silverlight.js"></script>
4 <script lang="text/javascript">
5 function createSilverlight()
7 Silverlight.createObjectEx({
8 source: "clock26.xaml",
9 parentElement: document.getElementById("SilverlightControlHost"),
10 id: "SilverlightControl",
11 properties: {
12 width: "100%",
13 height: "100%",
14 version: "1.1",
15 enableHtmlAccess: "true"
17 events: {}
18 });
20 // Give the keyboard focus to the Silverlight control by default
21 document.body.onload = function() {
22 var silverlightControl = document.getElementById('SilverlightControl');
23 if (silverlightControl)
24 silverlightControl.focus();
28 </script>
29 <style type="text/css">
30 .silverlightHost { width: 640px; height: 200px; }
31 </style>
32 </head>
34 <body bgcolor="gray">
36 <div id="SilverlightControlHost" class="silverlightHost" >
37 <script type="text/javascript">
38 createSilverlight();
39 </script>
40 </div>
41 </body>
42 </html>