am deac4de5: am 55d99832: docs: changes to sdk page and script for toggles

* commit 'deac4de56e3cdddabeeb6d4f8d4aea9e34ab11e3':
  docs: changes to sdk page and script for toggles
This commit is contained in:
Scott Main 2012-11-13 02:32:41 -08:00 committed by Android Git Automerger
commit c1b5b41784
2 changed files with 16 additions and 4 deletions

View File

@ -1065,6 +1065,7 @@ function toggleExpandable(link,id) {
function hideExpandable(ids) {
$(ids).slideUp();
$(ids).prev('h4').find('a.expandable').removeClass('expanded');
}

View File

@ -137,11 +137,16 @@
<?cs ######## HERE IS THE JD DOC CONTENT FOR ONLINE ######### ?>
<?cs call:tag_list(root.descr) ?>
<div class="wrap">
<div class="pax col-13 online" style="display:none">
<h4><a href='' class="expandable"
onclick="toggleExpandable(this,'.pax');hideExpandable('.myide,.reqs');return false;"
>DOWNLOAD FOR OTHER PLATFORMS</a></h4>
<div class="pax col-13 online" style="display:none;margin:0;">
<p class="table-caption"><strong>ADT Bundle</strong></p>
<table class="download">
@ -230,13 +235,21 @@ var:sdk.linux_download
</tr>
</table>
</div><!-- end pax -->
</div><!-- end col-13 for lower-half content -->
<script>
if (location.hash == "#Requirements") {
$('.reqs').show();
} else if (location.hash == "#ExistingIDE") {
$('.ide').show();
}
var os;
var $bundlelink;
@ -322,8 +335,6 @@ var:sdk.linux_download
</script>
</div><!-- end pax -->
</div><!-- end wrap -->
</div><!-- end the wrapper used for relative/absolute positions -->