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:
Scott Main 2013-11-12 20:18:38 +00:00 committed by Android Git Automerger
commit faff9f52c1
2 changed files with 5 additions and 3 deletions

View File

@ -2382,7 +2382,8 @@ function toggleVisisbleApis(selectedLevel, context) {
// Grey things out that aren't available and give a tooltip title
if (apiLevelNum > selectedLevelNum) {
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");
});

View File

@ -214,7 +214,8 @@ def:default_left_nav() ?>
<a class="totop" href="#top" data-g-event="left-nav-top">to top</a>
<div id="api-nav-header">
<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">
<select id="apiLevelSelector">
<!-- option elements added by buildApiLevelSelector() -->
@ -239,7 +240,7 @@ def:default_left_nav() ?>
<div id="packages-nav" class="scroll-pane">
<ul>
<?cs call:package_link_list(docs.packages) ?>
<?cs call:package_link_list(docs.packages) ?>
</ul><br/>
</div> <!-- end packages-nav -->