SHINDIG-1056 by lipeng, BasicRemoteContentTest doesn't depend on static private key...
[shindig.git] / javascript / container / sample4.html
blobc0b5abbcd02ab3a8db0d9e09c972d598bfc61b60
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: set-pref 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_setprefs_multiple_ifpc.xml';
33 function init() {
34 gadgets.container.layoutManager =
35 new gadgets.FloatLeftLayoutManager('gadget-parent');
37 gadgets.container.addGadget(
38 gadgets.container.createGadget({specUrl: specUrl0}));
41 function renderGadgets() {
42 gadgets.container.renderGadgets();
44 </script>
45 </head>
46 <body onLoad="init();renderGadgets();">
47 <h2>Sample: set-pref support</h2>
48 <div id="gadget-parent" class="gadgets-gadget-parent"></div>
49 </body>
50 </html>