add script and style for toggling which IDE instructions to show.

Change-Id: Ief094a4f58c7ebb4625948d6639fed713adcc0c7
This commit is contained in:
smain@google.com
2014-06-16 19:24:25 -07:00
parent 908a05a1ee
commit 95948b88ec
3 changed files with 105 additions and 69 deletions

View File

@@ -501,7 +501,7 @@ var:sdk.linux_download
function onDownloadForRealz(link) {
if ($("input#agree").is(':checked') && $("#bitpicker input:checked").length) {
$("div.sdk-terms").slideUp();
$("h1#tos-header").text('Now downloading ' + $(link).text() + '...');
$("h1#tos-header").text('Now redirecting to the install instructions...');
$("#sdk-terms-form,.sdk-terms-intro").fadeOut('slow', function() {
setTimeout(function() {
if ($("#downloadForRealz").attr('bundle') == 'true') {