JqxTabs: Difference between revisions
Jump to navigation
Jump to search
Kaplanerkan (talk | contribs) |
Kaplanerkan (talk | contribs) |
||
Line 38: | Line 38: | ||
</pre> | </pre> | ||
==== disableAt ==== | ==== disableAt / enableAt ==== | ||
Disabling tab with indicated index. | Disabling/Enabling tab with indicated index. | ||
<pre> | <pre> | ||
Function Button1_onclick() | Function Button1_onclick() | ||
Rem disable 2.Tab on Tabs1 | Rem disable 2.Tab on Tabs1 | ||
$("#Tabs1").jqxTabs("disableAt ",1) | $("#Tabs1").jqxTabs("disableAt",1) | ||
End Function | End Function | ||
Function Button2_onclick() | |||
Rem enable 2.Tab on Tabs1 | |||
$("#Tabs1").jqxTabs("enableAt",1) | |||
End Function | |||
</pre> | </pre> | ||
Revision as of 15:38, 14 May 2013
Description
jqxTabs represents a jQuery Tabs widget. jqxTabs is breaking the content into multiple sections. You can populate it from 'LI' elements for the tab titles and 'DIV' elements for tab contents.
Properties and Methods
See the complete documentation at jqWidget's site: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxtabs/jquery-tabs-getting-started.htm
Example
Events
Function Tabs1_onselected(e) MsgBox "selected " & e.args.item End Function Function Tabs1_ontabclick(e) MsgBox "tabclick " & e.args.item End Function
Functions
removeAt
Removing tab with indicated index.
Function Button1_onclick() Rem delete 2.Tab on Tabs1 $("#Tabs1").jqxTabs("removeAt",1) End Function
disableAt / enableAt
Disabling/Enabling tab with indicated index.
Function Button1_onclick() Rem disable 2.Tab on Tabs1 $("#Tabs1").jqxTabs("disableAt",1) End Function Function Button2_onclick() Rem enable 2.Tab on Tabs1 $("#Tabs1").jqxTabs("enableAt",1) End Function
Output
See above.