Added Help button functionality.

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely POLONKAI
2012-08-17 18:22:13 +02:00
parent aed588e5e2
commit 528c373ad9
6 changed files with 101 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ function doPopup(title, content, url, w, h, callback)
}
}).error(function()
{
$('#popup-content').html('Nem sikerült betölteni a könyv adatait.');
$('#popup-content').html('Szerver-oldali hiba!');
});
}
@@ -102,4 +102,12 @@ $(document).ready(function() {
$('#news-button').show();
resizeBoxes();
});
$('#help-button a').click(function()
{
helpUrl = $(this).attr('href');
doPopup('Súgó', null, helpUrl, 400, 300, null);
return false;
})
});