add ADT Bundle to the download page
Change-Id: Ife533a32e29f2d5f1c58a42ad0b91c5053b44da4
This commit is contained in:
@@ -28,7 +28,7 @@ $(document).ready(function() {
|
||||
$('.scroll-pane').jScrollPane( {verticalGutter:0} );
|
||||
|
||||
// add HRs below all H2s (except for a few other h2 variants)
|
||||
$('h2').not('#qv h2').not('#tb h2').not('.sidebox h2').not('#devdoc-nav h2').css({marginBottom:0}).after('<hr/>');
|
||||
$('h2').not('#qv h2').not('#tb h2').not('.sidebox h2').not('#devdoc-nav h2').not('h2.norule').css({marginBottom:0}).after('<hr/>');
|
||||
|
||||
// set search's onkeyup handler here so we can show suggestions
|
||||
// even while search results are visible
|
||||
@@ -384,11 +384,11 @@ false; // navigate across topic boundaries only in design docs
|
||||
|
||||
// Set up tooltips
|
||||
var TOOLTIP_MARGIN = 10;
|
||||
$('acronym').each(function() {
|
||||
$('acronym,.tooltip-link').each(function() {
|
||||
var $target = $(this);
|
||||
var $tooltip = $('<div>')
|
||||
.addClass('tooltip-box')
|
||||
.text($target.attr('title'))
|
||||
.append($target.attr('title'))
|
||||
.hide()
|
||||
.appendTo('body');
|
||||
$target.removeAttr('title');
|
||||
@@ -1052,6 +1052,21 @@ function toggleContent(obj) {
|
||||
}
|
||||
|
||||
|
||||
/* New version of expandable content */
|
||||
function toggleExpandable(link,id) {
|
||||
if($(id).is(':visible')) {
|
||||
$(id).slideUp();
|
||||
$(link).removeClass('expanded');
|
||||
} else {
|
||||
$(id).slideDown();
|
||||
$(link).addClass('expanded');
|
||||
}
|
||||
}
|
||||
|
||||
function hideExpandable(ids) {
|
||||
$(ids).slideUp();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user