Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2006
    Posts
    393

    need popup code... help

    I need to make a popup window for a membership only website.
    We have an "Event Register" page.
    Some members would go to that page but not register.
    We want to know why they are hesitant to register for the event.

    So, we want a popup when they click "Back Button" and/or when they try to close the windows.

    How do I do this? can you give me some links?
    thank you very much.

  2. #2
    Join Date
    Dec 2004
    Location
    San Francisco Bay Area
    Posts
    213
    Look at the Javascript window.open() function. There's plenty of help info on the Internet, just do a search.
    Sizzling Web Design - Creator of EasyEstimates: Let your customers create complex estimates and orders on your web site.
    Video Gallery Pro - Show your videos like a pro

  3. #3
    Quote Originally Posted by tmax100
    I need to make a popup window for a membership only website.
    We have an "Event Register" page.
    Some members would go to that page but not register.
    We want to know why they are hesitant to register for the event.

    So, we want a popup when they click "Back Button" and/or when they try to close the windows.

    How do I do this? can you give me some links?
    thank you very much.

    This is bad website design. I strongly recommend against using pop ups in this case since the user could have a blocker (most browsers do). Go ahead and write the pop up code but chances no one will see it.

  4. #4
    Join Date
    Jan 2007
    Posts
    31
    Quote Originally Posted by gewthen
    This is bad website design. I strongly recommend against using pop ups in this case since the user could have a blocker (most browsers do). Go ahead and write the pop up code but chances no one will see it.
    He's not talking about an actual popup, he means alert box. Like in Joomla, if you don't save something, an alert box pops up.
    Here is a tutorial: http://www.codetoad.com/javascript/m...load_event.asp

    Daniel
    Host In Us Web Hosting Services |www.hostinus.com
    Premium Enterprise Shared Web Hosting
    Less than 80 Customers per server!

    Try us out! We want to earn your business

  5. #5
    Quote Originally Posted by HIU-Daniel
    He's not talking about an actual popup, he means alert box. Like in Joomla, if you don't save something, an alert box pops up.
    Here is a tutorial: http://www.codetoad.com/javascript/m...load_event.asp

    Daniel
    Sorry my fault for not looking through all the messages. Saw pop up window and red lights went off.

Posting Permissions

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