Fixes an error with xml output / to strict type checking
[shindig.git] / javascript / container / sample7.html
blob5bd4bd7cdc9f4f53685b04090a6db19b06674efb
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Sample: settitle support</title>
5 <!-- default container look and feel -->
6 <link rel="stylesheet" href="gadgets.css">
7 <script type="text/javascript" src="../../js/rpc.js?c=1&debug=1"></script>
8 <script type="text/javascript" src="cookies.js"></script>
9 <script type="text/javascript" src="util.js"></script>
10 <script type="text/javascript" src="gadgets.js"></script>
11 <script type="text/javascript" src="cookiebaseduserprefstore.js"></script>
12 <script type="text/javascript">
13 var specUrl0 = 'http://www.google.com/ig/modules/test_settitle_html.xml';
15 function init() {
16 gadgets.container.layoutManager =
17 new gadgets.FloatLeftLayoutManager('gadget-parent');
18 var gadget = gadgets.container.createGadget({specUrl: specUrl0});
19 gadgets.container.addGadget(gadget);
22 function renderGadgets() {
23 gadgets.container.renderGadgets();
25 </script>
26 </head>
27 <body onLoad="init();renderGadgets()">
28 <h2>Sample: settitle support</h2>
29 <div id="gadget-parent" class="gadgets-gadget-parent"></div>
30 </body>
31 </html>