Tabslider == Description == This page describes the ++++ widget. ~~ Note: ,( :style { font-weight: bold; color: red } [ The markups presented in this page are not yet supported on client side programming. They are only available on server side.]) == Synopsis == === Server === ( args ...) ( args ...) ( args ...) === Requirements === Client codes using //tabsliders// need to load the script ++hop-tabslider.js++. They also need to load the ++hop-tabslider.hss++ style sheet. Hence, documents using //tabsliders// must include in their header, the following statement: ( :include "hop-tabslider") == Examples == == Server Definitions == === ++++ === ^ attributes ^ type ^ default ^ short description ^ | :id | string | //random// | element identifier. | | :width | dimension | | the width. | | :height | dimension | | the height. | | :speed | integer | ++20++ | animation speed (0=no anim). | | | :index | integer | ++0++ | the selected tab. | | :onchange | function | - | a function to invoke on pad selection. | | history | obj | _ | enables history. | | body | ++++ list | | the list of items. | The argument ++:history++ controls whether an history event is associated with selected a tab. When history is enabled, the //back button// of the browser restores previously selected tabs. The history is disabled if ++:history++ is ++#f++. It is enabled if ++:history++ is ++#t++ or if it is not ++#f++ and an ++:id++ value is provided. === ++++ === ^ attributes ^ type ^ default ^ short description ^ | :id | string | //random// | element identifier. | | :onselect | function | - | a function to invoke on pad selection. | | body | HTML tree | | the body. | When the body of the is an object built with the markup, then the item is re-computed each time it is re-open. === ++++ === ^ attributes ^ type ^ default ^ short description ^ | :id | string | //random// | element identifier. | | body | HTML tree | | the body. | == Client Definitions == === ++(tabslider-select tabslider pan [history #t])++ === tabslider-select ^ arguments ^ type ^ short description ^ | tabslider | tabslider or string | the tabslider. | | pan | pan or string | the pan. | | history | a boolean | enables history. | | callback | #f or a procedure | user callback. | This function selects a //pan// in a //tabslider//. * The ++history++ argument, when true, records the selection in the browser history. == Style == == See also == , tabslider-select