var DemoDef = { "mode":"slide", "style": { "width": 200, "height": 240, "view": { "width": 150, "height":113, "offset": { "x":25, "y":25 } }, "comment": { "width":18, "height":3, "offset": { "x":17, "y":150 }, "style":{ "bgcolor":"#D3D0D0", "color":"gray", "css":"txt"} }, "bgcolor" : "#B6C4D1" }, "position": { "x":0, "y":10, "absolute" : false }, "scroll": { "type":"control", "step":5, "timer":40, "dir":"s", "pause":1500, "cycle":true, "ctrlstyle": { "width":60, "height":25, "align":"center" }, "ctrlpos": { "x":10, "y":210 }, "control": [ { "type":"link", "act":"prev", "text":"[ Prev ]" }, { "type":"link", "act":"next", "text":"[ Next ]" }, { "type":"link", "act":"rew", "text":"[ Rew ]" } ] }, "itemeffect":"revealTrans(duration=3, transition=12)", "itemstyle":{ "bgcolor": "white" }, "items": [ { "type":"IMG", "src":"img/flow1.gif", "comment" : "Violet orchids" }, { "type":"IMG", "src":"img/flow2.gif", "comment" : "Nice red flower" }, { "type":"IMG", "src":"img/flow3.gif", "comment" : "Green bushes" } ] };