Set Image Slider

You can configure Image Slider properties with these commands:

ds_slider_xy, ds_slider_dim, ds_slider_delay, ds_slider_run, ds_slider_close.

below you will find the description of each individual command.

ds_slider_dim (ID) (WIDTH) (EIGHT)

Set the dimension of the Image Slider Widget, Width and Height are expressed in pixels.


ds_slider_dim slide1 300 200

ds_slider_xy (ID) (X) (Y)

Set X and Y


ds_slider_xy myslide 0 550

ds_slider_delay (ID) (SPEED)

pause between two images, DELAY is espressed in milliseconds.


# set delay to 200 millisec
ds_slider_delay myslide 200

ds_slider_run (ID)


# Make a one Photo Slider
ds_slider_xy slide1 10 10
ds_slider_dim slide1 300 200
ds_slider_delay slide1 200
ds_slider_run slide1
#for close ds_slider use: ds_slider_close (ID)
#ds_slider_close slider1
Powered by