View Full Version : Need help with popup windows

12-26-2003, 06:22 AM
On a site that I am creating, I wish to have a user click a button to obtain a window showing a coupon that they can print. I'm not concerned with the print button or code to print. But I am having problems creating a popup that will displaying the coupon information. I always receive a message within the popup stating that the page cannot be found.

Here's a snipit of the html i'm using to call a page named 'coupon.html'.

Input type="button" value="Click Here for Coupon" onclick="window.open('coupon.html')">

Would appreciate any answers you may have.

Mr J
12-26-2003, 11:08 AM
Make sure you have the correct path and the name and extention of the page are correct.

Check to make sure you have not saved the file as a .HTM and are calling a .HTML file

12-27-2003, 11:32 AM
Thanks for the quick reply. That was the first thing I checked. However, I must have drank too much Holiday Cheer, for it was the difference between .html and htm.