Posted by malatestapunk Fri 2nd Mar 2007 10:14 - Syntax is HTML (4.0.1) - 39 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
Description:
An example of twangoRotator twidget usage.
An example of twangoRotator twidget usage.
-
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-
-
-
-
-
-
-
//<![CDATA[
-
window.onload = function () {
-
new rotatorTwidget (
-
// *** OPTIONAL PARAMETERS ***
-
//{
-
//'divID': 'twangoRotator', // ID of the DIV element to be transformed into twangoRotator; default is 'twangoRotator'
-
//'scrollerHeight': 10, // height of scroller buttons in pixels; 10 is the default value
-
//'onAction': 'onclick', // javascript event handler that triggers scrolling; 'onclick' is the default value
-
//'height': 140, // overall twidget height, in pixels; default value is 100 + 2*scrollerHeight (120px)
-
//'width': 50, // overall twidget width, in pixels; default is 100
-
//'scrollerUpBg': 'up.gif', // image to be used for 'up' scroller; default is none
-
//'scrollerDnBg': 'dn.gif' // image to be used for 'down' scroller; default is none
-
//}
-
);
-
}
-
//]]>
-
-
/*<![CDATA[*/
-
/*
-
*** You can also apply style to the rotator box
-
*/
-
#twangoRotator {
-
background-color: #F6F6F6;
-
border: 4px solid #FaFaFa;
-
}
-
/*]]>*/
-
-
-
-
-
-
-
PermaLink to this entry https://pastebin.co.uk/11288
Posted by malatestapunk Fri 2nd Mar 2007 10:14 - Syntax is HTML (4.0.1) - 39 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
Comments: 0