SHINDIG-1056 by lipeng, BasicRemoteContentTest doesn't depend on static private key...
[shindig.git] / javascript / container / sample7.html
blobc90de77f061d2947b51ee8f5cbf4b5b8f5d9fe9b
1 <!--
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 -->
19 <!DOCTYPE html>
20 <html>
21 <head>
22 <title>Sample: settitle support</title>
23 <!-- default container look and feel -->
24 <link rel="stylesheet" href="gadgets.css">
25 <script type="text/javascript" src="../../js/rpc.js?c=1&debug=1"></script>
26 <script type="text/javascript" src="cookies.js"></script>
27 <script type="text/javascript" src="util.js"></script>
28 <script type="text/javascript" src="gadgets.js"></script>
29 <script type="text/javascript" src="cookiebaseduserprefstore.js"></script>
30 <script type="text/javascript">
31 var specUrl0 = 'http://www.google.com/ig/modules/test_settitle_html.xml';
33 function init() {
34 gadgets.container.layoutManager =
35 new gadgets.FloatLeftLayoutManager('gadget-parent');
36 var gadget = gadgets.container.createGadget({specUrl: specUrl0});
37 gadgets.container.addGadget(gadget);
40 function renderGadgets() {
41 gadgets.container.renderGadgets();
43 </script>
44 </head>
45 <body onLoad="init();renderGadgets();">
46 <h2>Sample: settitle support</h2>
47 <div id="gadget-parent" class="gadgets-gadget-parent"></div>
48 </body>
49 </html>