一种多panel(面板)的单内容区,详见 http://api.jqueryui.com/tabs/
允许动态属性:false |
|||||
---|---|---|---|---|---|
名称 | 必需 | 默认值 | 类型 | 描述 | |
accesskey | String | Set the html accesskey attribute on rendered html element | |||
active | 0 | Integer | 当前打开哪一个 panel(面板),索引从 0 开始,详见 http://api.jqueryui.com/tabs/#option-active。 | ||
cache | false | Boolean | 当面板中的内容是通过 Ajax 从远程服务器加载的时候,是否缓存加载后的内容。如果值为 true, 则在 tab 之间切换时,只在第一次显示对应的面板时会从远程加载数据。 | ||
collapsible | false | Boolean | 是否可以被收起和展开, 详见 http://api.jqueryui.com/tabs/#option-collapsible。 | ||
cssClass | String | The css class to use for element | |||
cssErrorClass | String | The css error class to use for element | |||
cssErrorStyle | String | The css error style definitions for element to use | |||
cssStyle | String | The css style definitions for element to use | |||
disabled | String | 设置哪些标签被禁用,多值之间使用逗号分隔,如: 0,2 表示禁用第一个和第三个 tab 页, 详见 http://api.jqueryui.com/tabs/#option-disabled | |||
errorPosition | String | Define error position of form element (top|bottom) | |||
event | click | String | 激活选项卡的事件类型。 要悬停(hover)激活选项卡,用 mouseover, 详见 http://api.jqueryui.com/tabs/#option-event | ||
heightStyle | content | String | 控制Tab(选项卡)部件和每个panel(面板)的高度,可选值:auto、fill、content, 详见 http://api.jqueryui.com/tabs/#option-heightStyle | ||
hide | String | panel(面板)隐藏时的动画效果,如:fold, 详见 http://api.jqueryui.com/tabs/#option-hide | |||
id | String | HTML id attribute | |||
javascriptTooltip | false | Boolean | Use JavaScript to generate tooltips | ||
key | String | Set the key (name, value, label) for this particular component | |||
label | String | Label expression used for rendering an element specific label | |||
labelSeparator | : | String | String that will be appended to the label | ||
labelposition | String | Define label position of form element (top/left) | |||
name | String | The name to set for element | |||
onActivateTopics | String | 面板被激活后(在动画完成之后),即触发 activate 事件时发布的话题, 详见 http://api.jqueryui.com/tabs/#event-activate | |||
onBeforeActivateTopics | String | tabs(选项卡)被激活前,即触发 beforeActivate 事件时发布的话题, 详见 http://api.jqueryui.com/tabs/#event-beforeActivate | |||
onLoadTopics | String | 远程选项卡加载后,即触发 load 事件时发布的话题, 详见 http://api.jqueryui.com/tabs/#event-load | |||
onblur | String | Set the html onblur attribute on rendered html element | |||
onchange | String | Set the html onchange attribute on rendered html element | |||
onclick | String | Set the html onclick attribute on rendered html element | |||
ondblclick | String | Set the html ondblclick attribute on rendered html element | |||
onfocus | String | Set the html onfocus attribute on rendered html element | |||
onkeydown | String | Set the html onkeydown attribute on rendered html element | |||
onkeypress | String | Set the html onkeypress attribute on rendered html element | |||
onkeyup | String | Set the html onkeyup attribute on rendered html element | |||
onmousedown | String | Set the html onmousedown attribute on rendered html element | |||
onmousemove | String | Set the html onmousemove attribute on rendered html element | |||
onmouseout | String | Set the html onmouseout attribute on rendered html element | |||
onmouseover | String | Set the html onmouseover attribute on rendered html element | |||
onmouseup | String | Set the html onmouseup attribute on rendered html element | |||
onselect | String | Set the html onselect attribute on rendered html element | |||
openTemplate | String | Set template to use for opening the rendered html. | |||
requiredLabel | false | Boolean | If set to true, the rendered element will indicate that input is required | ||
requiredPosition | String | Define required position of required form element (left|right) | |||
show | String | panel(面板)显示时的动画效果,如:fold, 详见 http://api.jqueryui.com/tabs/#option-show | |||
tabindex | String | Set the html tabindex attribute on rendered html element | |||
tabPosition | top | String | Tab 选项卡显示的位置,可选值: top, bottom, left | ||
template | String | The template (other than default) to use for rendering the element | |||
templateDir | String | The template directory. | |||
theme | String | The theme (other than default) to use for rendering the element | |||
title | String | Set the html title attribute on rendered html element | |||
tooltip | String | Set the tooltip of this particular component | |||
tooltipCssClass | StrutsTTClassic | String | CSS class applied to JavaScrip tooltips | ||
tooltipDelay | Classic | String | Delay in milliseconds, before showing JavaScript tooltips | ||
tooltipIconPath | String | Icon path used for image that will have the tooltip | |||
useSelectedTabCookie | false | Boolean | 是否使用 cookie 保存最后一次选中的选项卡的索引,如果值为 true,则需要引入 jquery.cookie 插件。注意: useSelectedTabCookie 的值为 true 时,必须明确指定 id 属性值,否则不会生效! | ||
value | String | Preset the value of input element. |
example descript...
这里是示例代码块