var DemoDef = {
"preload" : true,
"preload_num" : 1,
"mode":"slide",
"style": {
"width": 200,
"height": 200,
"view": { "width": 150, "height":113,
"offset": { "x":25, "y":25 }
},
"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":155 },
"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"
},
{
"type":"IMG",
"src":"img/flow2.gif"
},
{
"type":"IMG",
"src":"img/flow3.gif"
}
]
};