-
Notifications
You must be signed in to change notification settings - Fork 58
Fix tab example #351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix tab example #351
Changes from 3 commits
7b34afc
daefae6
f21ae0a
1c21dbd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ | |
| }</script> | ||
|
|
||
| <p>This widget is imported unchanged from <a href="http://jqueryui.com/">jQuery UI</a>. Nevertheless, in keeping with jQuery Mobile widget features, the options documented on its jQuery UI API <a href="http://api.jqueryui.com/tabs/">reference</a> page are also available as <code>data-*</code> attributes.</p> | ||
|
|
||
| <div class="warning"><b>Note:</b> If you are going to use a UI element on the page in conjunction with the tabs widget, do not use a link, as this will interfere with the management of the <code>ui-btn-active</code> class that is used on the tabs. Use other UI elements, such as <code><button></code>, instead.</div> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe change this to say something more along the lines of "Use of links to open popup's and panels is not currently recommended in conjunction with the tabs widget. Clicking these links will remove the active state style of the selected tab". This is a very specific issue we don't want to make it sounds bigger then it is by implying people should not use links in general with tabs.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, Hopefully I'll get a chance to update this today. |
||
| <section class="entry-examples" id="entry-examples"> | ||
| <header><h2>Example:</h2></header> | ||
| <div class="entry-example" id="example-0"> | ||
|
|
@@ -35,7 +35,7 @@ <h1>jQuery Mobile Example</h1> | |
| <div data-role="tabs"> | ||
| <div data-role="navbar"> | ||
| <ul> | ||
| <li><a href="#fragment-1">One</a></li> | ||
| <li><a href="#fragment-1" class="ui-btn-active">One</a></li> | ||
| <li><a href="#fragment-2">Two</a></li> | ||
| <li><a href="#fragment-3">Three</a></li> | ||
| </ul> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not directly related but a good time to update. This is no longer true we now override one of the methods to deal with base tag manipulation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind thats only for 1.5