- In this example each item is a gif image.
- It's demonstrate:
- align image item to left, to right or to center of the scroller
- set the background image for scroller
- align the background image of the scroller to right and bottom
Current example's settings
<script language="JavaScript">
<!--
var scr_INIT_1={
swf:'./sprigst-scroller-demo-v1.0.1.swf',
id:'sotester_1',
settings : './settings-demo.txt',
width:200,
height: 250
}
var scr = new SprigstScroller(scr_INIT_1);
//-->
</script>
*** SETTINGS_DEMO.TXT ***
{
"refreshTime":"25",// ms
"background":{
"src":"./bk.gif",
"align":"br",
"color":"0xffffff"
},
"items":[
{
"src":"./item_1/70.gif",
"align":"right"
},
{
"src":"./item_2/50.gif"
},
{
"src":"./item_3/30.gif",
"align":"left"
}
]
}
