add onCancel method and helper method for loading pages on the fly

This commit is contained in:
alecf%netscape.com 1999-06-25 08:44:19 +00:00
parent 2c3ad6f893
commit 35480a6a19

View File

@ -64,6 +64,14 @@ function onNext(event) {
nextPage(contentWindow);
}
function onCancel(event) {
window.close();
}
function onLoadPage(event) {
contentWindow.location = getUrlFromTag(document.getElementById("newPage").value);
}
function onBack(event) {
previousPage(contentWindow);
}