Removed old library for OpenID
[beagleboard.org.git] / db / 457.xml
blobdb7fdd9e64a6f0c49fa88ef85cc70e893839fd97
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <?xml-stylesheet type="text/xsl" href="helma.xsl"?>
3 <xmlroot xmlns:hop="http://www.helma.org/docs/guide/features/database">
4   <hopobject id="457" name="dojotest" prototype="Page" created="1229350459051" lastModified="1229880733532">
5   <hop:parent idref="0" prototyperef="Root"/>
6     <is_xhtml type="boolean">true</is_xhtml>
7     <http_remotehost>127.0.0.1</http_remotehost>
8     <beagleirclog>000000</beagleirclog>
9     <http_language>en-us,en;q=0.8,ja;q=0.5,zh;q=0.3</http_language>
10     <http_browser>Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5</http_browser>
11     <uri>dojotest</uri>
12     <time type="date">21.12.2008 11:32:13 CST</time>
13     <hopsession>127.0.0.76.31.18.90d53exy0voz</hopsession>
14     <body>
15  Test some things with the dojo library.
16  &lt;script type=&quot;text/javascript&quot;&gt;dojo.require(&quot;dojox.image.SlideShow&quot;);
17 dojo.require(&quot;dojo.data.ItemFileReadStore&quot;);
18 dojo.require(&quot;dojo.parser&quot;);&lt;/script&gt;
19  &lt;h3&gt;
20   &lt;div dojotype=&quot;dojox.image.SlideShow&quot; id=&quot;slideshow1&quot; slideshowinterval=&quot;15&quot; imagewidth=&quot;728&quot; imageheight=&quot;280&quot; fixedheight=&quot;true&quot; loop=&quot;true&quot; autostart=&quot;true&quot; hasnav=&quot;true&quot;&gt;titleTemplate=&quot;My title is &apos;${title}&apos;, this is image ${current} out of ${total}&quot;&lt;/div&gt;
21  &lt;/h3&gt;
22  &lt;script type=&quot;text/javascript&quot;&gt;dojo.addOnLoad(function() {
23 var imageItems = {
24   &quot;identifier&quot;: &quot;name&quot;, 
25   &quot;label&quot;: &quot;name&quot;,
26   &quot;items&quot;: [
27  {
28    &quot;name&quot;:&quot;125x125_PNG&quot;,
29    &quot;thumb&quot;:&quot;/static/banners/asp_dsp_bb_125x125.png&quot;,
30    &quot;large&quot;:&quot;/static/banners/asp_dsp_bb_125x125.png&quot;,
31    &quot;title&quot;:&quot;125x125 PNG&quot;,
32    &quot;link&quot;:&quot;http://beagleboard.org&quot;
33  },
34  {
35    &quot;name&quot;:&quot;336x280_GIF&quot;,
36    &quot;thumb&quot;:&quot;/static/banners/asp_dsp_bb_336x280.gif&quot;,
37    &quot;large&quot;:&quot;/static/banners/asp_dsp_bb_336x280.gif&quot;,
38    &quot;title&quot;:&quot;336x280 PNG&quot;,
39    &quot;link&quot;:&quot;http://beagleboard.org&quot;
40  },
41  {
42    &quot;name&quot;:&quot;125x125_GIF&quot;,
43    &quot;thumb&quot;:&quot;/static/banners/asp_dsp_bb_125x125.gif&quot;,
44    &quot;large&quot;:&quot;/static/banners/asp_dsp_bb_125x125.gif&quot;,
45    &quot;title&quot;:&quot;125x125 GIF&quot;,
46    &quot;link&quot;:&quot;http://beagleboard.org&quot;
47  },
48  {
49    &quot;name&quot;:&quot;728x90_GIF&quot;,
50    &quot;thumb&quot;:&quot;/static/banners/asp_dsp_bb_728x90.gif&quot;,
51    &quot;large&quot;:&quot;/static/banners/asp_dsp_bb_728x90.gif&quot;,
52    &quot;title&quot;:&quot;728x90 GIF&quot;,
53    &quot;link&quot;:&quot;http://beagleboard.org&quot;
54  }
55 ]};
56   var imageItemStore = new dojo.data.ItemFileReadStore({data: imageItems});
57   var request= {count:4, start:0};
58   var itemNameMap = {imageLargeAttr: &quot;large&quot;};
59   dojo.parser.parse();
60   var slideshow = dijit.byId(&apos;slideshow1&apos;);
61   slideshow.setDataStore(imageItemStore, request, itemNameMap);
62   //slideshow.toggleSlideShow();
63   //slideshow.showNextImage();
64 });&lt;/script&gt;
65  &lt;div id=&quot;element1&quot;&gt;This is element #1&lt;/div&gt;
66  &lt;div id=&quot;element2&quot;&gt;This is element #2&lt;/div&gt;
67  &lt;div id=&quot;element3&quot;&gt;This is element #3&lt;/div&gt;
68  &lt;script type=&quot;text/javascript&quot;&gt;dojo.require(&quot;dojo.fx&quot;);
69  dojo.require(&quot;dojo.parser&quot;);
70  dojo.require(&quot;dojox.timing._base&quot;);
71  dojo.addOnLoad(function() {
72   var timer = new dojox.timing.Timer(3000);
73   timer.start();
74   dojo.style(&quot;element1&quot;, &quot;display&quot;, &quot;inline&quot;);
75   dojo.style(&quot;element2&quot;, &quot;display&quot;, &quot;none&quot;);
76   dojo.style(&quot;element3&quot;, &quot;display&quot;, &quot;none&quot;);
77   timer.x = 1;
78   timer.onTick = function() {
79    dojo.style(&quot;element&quot; + this.x, &quot;display&quot;, &quot;none&quot;);
80    this.x++;
81    if (this.x &gt; 3)
82     this.x = 1;
83    dojo.style(&quot;element&quot; + this.x, &quot;display&quot;, &quot;inline&quot;);
84   };
85  });&lt;/script&gt;
86 </body>
87     <pseudoparent idref="0" prototyperef="Root"/>
88     <http_referer>http://beagleboard.org/dojotest/edit</http_referer>
89     <http_host>beagleboard.org</http_host>
90     <user>blog.hangerhead.com</user>
91     <lang>en-us</lang>
92     <hop:child idref="459" prototyperef="Page"/>
93   </hopobject>
94 </xmlroot>