Friday, February 16, 2007

New Version of Slide Show Widget

Finally completed a new version of the Slide Show widget here. As previously mentioned, this widget is fully cut and paste with minimal changes necessary. There are two control parameters at the near the end of the code:

picObject.slideit(); }) (1000, 1); /*]]>*/

The green parameter indicates the duration in milliseconds that each picture will display before the next. A value of zero means the picture will only swap when the mouse is moved over it, i.e. like the banner above. The red parameter indicates if clicking on the picture will open a link to the picture. A value of 1 means yes (i.e. the slide show on the right) and a value of zero means no (i.e. the banner).
Somehow I cannot get the blogger API to share the widget properly using a form, it keeps scrambling up the code and displaying it as a Text/HTML/JavaScript widget when it should be a TextList widget =(.

No comments: