When I open MyPage.html I would like a popup window open with a Yes and a No buttons and a text above them saying "Would you like to stay on this page?".
When users click the Yes button the popup should close and they could view the content of MyPage.html
When they click the No button they should be directed to http://www.yahoo.com
Thank you for your help
This is nice, but what I really need is one Yes and one No button on the page. This popup has an OK and a Cancel button. How can the text in the buttons be changed to Yes and No?