/*
2007/03/16
FeedMaker Basic lib.
Required:
All UTF-8 page,
by BlueSky.
*/
function messagePrintInterval(_message, _interval) {
var timeout;
Dialog.info(_message,
{
className:"alphacube",
width:250,
height:50,
showProgress: true,
showEffect: Element.show, // Effect.BlindDown
hideEffect: Effect.DropOut
}
);
timeout = _interval;
setTimeout(infoTimeout, 1000);
function infoTimeout() {
timeout--;
if (timeout >0) {
//Dialog.setInfoMessage("Test of info panel, it will close
in " + timeout + "s ...");
setTimeout(infoTimeout, 1000);
}
else {
Dialog.closeInfo();
}
}
openInfoDialog();
} // messageOut
function messagePrintAlert(_message, _okLabel) {
Dialog.alert(
_message,
{
className: "alphacube",
width:300,
showEffect:Element.show,
hideEffect: Effect.DropOut,
okLabel: _okLabel
}
);
} // messageOut