am 641c2c2f
: clarify the hidden APIs in reference with better tooltips
* commit '641c2c2fdaf68fa48b044177fef7c890a42c8a11': clarify the hidden APIs in reference with better tooltips
This commit is contained in:
commit
faff9f52c1
2 changed files with 5 additions and 3 deletions
|
@ -2382,7 +2382,8 @@ function toggleVisisbleApis(selectedLevel, context) {
|
||||||
// Grey things out that aren't available and give a tooltip title
|
// Grey things out that aren't available and give a tooltip title
|
||||||
if (apiLevelNum > selectedLevelNum) {
|
if (apiLevelNum > selectedLevelNum) {
|
||||||
obj.addClass("absent").attr("title","Requires API Level \""
|
obj.addClass("absent").attr("title","Requires API Level \""
|
||||||
+ apiLevel + "\" or higher");
|
+ apiLevel + "\" or higher. To reveal, change the target API level "
|
||||||
|
+ "above the left navigation.");
|
||||||
}
|
}
|
||||||
else obj.removeClass("absent").removeAttr("title");
|
else obj.removeClass("absent").removeAttr("title");
|
||||||
});
|
});
|
||||||
|
|
|
@ -214,7 +214,8 @@ def:default_left_nav() ?>
|
||||||
<a class="totop" href="#top" data-g-event="left-nav-top">to top</a>
|
<a class="totop" href="#top" data-g-event="left-nav-top">to top</a>
|
||||||
<div id="api-nav-header">
|
<div id="api-nav-header">
|
||||||
<div id="api-level-toggle">
|
<div id="api-level-toggle">
|
||||||
<label for="apiLevelCheckbox" class="disabled">API level: </label>
|
<label for="apiLevelCheckbox" class="disabled"
|
||||||
|
title="Select your target API level to dim unavailable APIs">API level: </label>
|
||||||
<div class="select-wrapper">
|
<div class="select-wrapper">
|
||||||
<select id="apiLevelSelector">
|
<select id="apiLevelSelector">
|
||||||
<!-- option elements added by buildApiLevelSelector() -->
|
<!-- option elements added by buildApiLevelSelector() -->
|
||||||
|
@ -239,7 +240,7 @@ def:default_left_nav() ?>
|
||||||
<div id="packages-nav" class="scroll-pane">
|
<div id="packages-nav" class="scroll-pane">
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<?cs call:package_link_list(docs.packages) ?>
|
<?cs call:package_link_list(docs.packages) ?>
|
||||||
</ul><br/>
|
</ul><br/>
|
||||||
|
|
||||||
</div> <!-- end packages-nav -->
|
</div> <!-- end packages-nav -->
|
||||||
|
|
Loading…
Reference in a new issue