jQWidgets Forums
jQuery UI Widgets › Forums › Navigation › Tabs › jqxTabs happen Error: Invalid structure!
Tagged: jqxTabs Invalid structure, Tabs
This topic contains 5 replies, has 2 voices, and was last updated by Dimitar 12 years, 8 months ago.
-
Author
-
$(‘#divTab’).jqxTabs({ width: ‘100%’, height: ‘100%’, theme: theme });
Set User Role
Set User Role33333@myRoleGrid.GetHtml()asdfasdfasdfsdHello zhq3k@163.com,
jqxTabs requires a specific HTML structure to be initialized properly, i.e.:
<div id='jqxTabs'> <ul style='margin-left: 20px;'> <li>Tab 1</li> <li>Tab 2</li> <li>Tab 3</li> <li>Tab 4</li> <li>Tab 5</li> </ul> <div> Content 1 </div> <div> Content 2 </div> <div> Content 3 </div> <div> Content 4 </div> <div> Content 5 </div></div>
For more information, please refer to jqxTabs’s documentation.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Hi Dimitar
Thanks for you support.
my source code is like below, please kindly help me why will alert invalid structure error.
<div style=”margin: 5px;”>
<div id=”divTab” >
<ul>
<li style=”margin-left: 20px;”>Set User Role
<li >Set User Role33333</li>
</ul>
</div>
<div>
@myRoleGrid.GetHtml()
</div>
<div>
asdfasdfasdfsd
</div>
</div>
</div>Hi zhq3k@163.com,
This is how your code should look like:
<div style="margin: 5px;"> <div id="divTab"> <ul> <li style="margin-left: 20px;">Set User Role</li> <li>Set User Role33333</li> </ul> <div> @myRoleGrid.GetHtml() </div> <div> asdfasdfasdfsd </div> </div> </div>
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Hi Dimitar
You are right. my code has issue.
But i have another question. How to let the splitter panel auto scroll?
Hi zhq3k@163.com,
Can you, please, provide us with more details – what exactly do you mean by letting the splitter panel auto scroll.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.