3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>qooxdoo » Demo</title>
5 <link type="text/css" rel="stylesheet" href="../../resource/css/layout.css"/>
7 <link type="text/css" rel="stylesheet" href="../../resource/css/layout_ie.css"/>
9 <script type="text/javascript" src="../../script/qx.js"></script>
11 <style type="text/css">
12 .qx_ui_embed_Gallery .galleryFrame{
16 .qx_ui_embed_Gallery .galleryCell{
17 border: 1px solid #444;
23 font-family: Tahoma, Verdana, sans-serif;
28 -moz-user-select: none;
32 .qx_ui_embed_Gallery .galleryCell img{
33 vertical-align: bottom;
37 .qx_ui_embed_Gallery .galleryCell .galleryTitle,
38 .qx_ui_embed_Gallery .galleryCell .galleryComment{
47 .qx_ui_embed_Gallery .galleryCell .galleryTitle{
48 border-bottom: 1px solid #aaa;
51 .qx_ui_embed_Gallery .galleryCell .galleryComment{
52 border-top: 1px solid #aaa;
55 .qx_ui_embed_Gallery .galleryCell-Selected{
57 border: 1px solid #2760A1;
60 .qx_ui_embed_Gallery .galleryCell-Selected .galleryTitle,
61 .qx_ui_embed_Gallery .galleryCell-Selected .galleryComment{
65 .qx_ui_embed_Gallery .galleryCell-Selected .galleryTitle{
66 border-bottom: 1px dotted #2760A1;
69 .qx_ui_embed_Gallery .galleryCell-Selected .galleryComment{
70 border-top: 1px dotted #2760A1;
75 <script type="text/javascript" src="../../script/layout.js"></script>
77 <div id="demoDescription">
78 <p>Test file for qx.ui.embed.Gallery</p>
81 <script type="text/javascript">
82 qx.core.Init.getInstance().defineMain(function()
84 var imgPath = qx.manager.object.AliasManager.getInstance().resolvePath("icon/64/chart.png");
88 for (var i=0; i<100; i++)
97 timestamp : Math.random().toString(),
98 comment : "Cool Comment",
99 id : "7686191121780974-10682",
104 var gallery = new qx.ui.embed.Gallery(galleryList);
107 gallery.setRight(335);
109 gallery.setBottom(48);
110 gallery.setBorder(qx.renderer.border.BorderPresets.getInstance().inset);
112 qx.ui.core.ClientDocument.getInstance().add(gallery);