Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2003
    Location
    Rialto, California
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help with popup windows

    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'.

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

    Would appreciate any answers you may have.

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    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

  • #3
    New to the CF scene
    Join Date
    Dec 2003
    Location
    Rialto, California
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

    Thanks...


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •