Hi everyone,
I creating a banner with a linking to another page but i would like to add a confirm message in so user will get the confirmation before link to another page.
below is my coding:
bg.onRelease = function() {
var brMSG = "Please click on OK to direct to the Yahoo site, or CANCEL to continue loading this page.";
getURL("javascript: confirm(" + brMSG + ")", "");
if (answer = true)
getURL("[http://www.yahoo.com](http://www.yahoo.com/)", "_blank");
else
};
My problem is when i click on the banner confirm message and the new page both showing at the same time. Can someone help me on this?
THANKS
tengngan