Skip to content

Commit d5d78f4

Browse files
committed
Tweaks to custom select menu pages
1 parent ed6a084 commit d5d78f4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/forms/selects/custom.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ <h2>Select menus</h2>
3232
<li><a href="events.html" data-role="button" data-transition="fade">Events</a></li>
3333
</ul>
3434

35+
<h2>Custom select menus</h2>
3536
<p>The framework is capable of building a custom menu based on the <code>select</code> element's list of options. We recommend using a custom menu when multiple selections are required, or when the menu itself must be styled with CSS.</p>
3637

3738
<p>You can optionally use custom-styled select menus instead of the native OS menu. The custom menu supports disabled options and multiple selection (whereas native mobile OS support for both is inconsistent), adds an elegant way to handle placeholder values, and restores missing functionality on certain platforms such as <code>optgroup</code> support on Android (all explained below). In addition, the framework applies the custom button's theme to the menu to better match the look and feel and provide visual consistency across platforms. Lastly, custom menus often look better on desktop browsers because native desktop menus are smaller than their mobile counterparts and tend to look disproportionate.</p>

docs/forms/selects/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,11 @@ <h2>Theming selects</h2>
403403
</select>
404404
</div>
405405

406-
<p>For the sake of advanced styling, the framework also offers a method of generating <a href="custom.html">custom menus</a> from existing select menu markup. You can optionally use custom-styled select menus instead of the native OS menu. The custom menu supports disabled options and multiple selection (whereas native mobile OS support for both is inconsistent), adds an elegant way to handle placeholder values, and restores missing functionality on certain platforms such as <code>optgroup</code> support on Android.</p>
406+
<h2>Custom select menus</h2>
407+
<p>For the sake of advanced styling, the framework also offers a method of generating <a href="custom.html">custom menus</a> from existing select menu markup instead of the native OS menu. The custom menu supports disabled options and multiple selection (whereas native mobile OS support for both is inconsistent), adds an elegant way to handle placeholder values, and restores missing functionality on certain platforms such as <code>optgroup</code> support on Android.
408+
409+
<a href="custom.html" data-role="button">Custom select menu docs</a>
410+
</p>
407411

408412
</div><!--/content-primary -->
409413

0 commit comments

Comments
 (0)