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
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';
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();
45 <body onLoad=
"init();renderGadgets();">
46 <h2>Sample: settitle support
</h2>
47 <div id=
"gadget-parent" class=
"gadgets-gadget-parent"></div>