Author Topic: popup subscription form  (Read 1844 times)

JeffB

  • Posts: 8
    • View Profile
popup subscription form
« on: July 06, 2006, 05:00:31 pm »
I just added a popup subscription form to my site using the form created by ListMail Pro. The problem is when someone subscribes to my list using the popup, the thank you page shows up in the popup window instead of a new full size window. What if my thank you message doesn't fit in the popup window, is there a way to close the popup when someone clicks on 'Submit' and have the thank you page show up in a new full size window?

Do I need to modify the signup.php file and/or the 'Submit' button properties?

BGSWebDesign

  • Posts: 625
    • View Profile
    • http://www.bgswebdesign.com
popup subscription form
« Reply #1 on: July 06, 2006, 05:50:04 pm »
Hi Jeff,

Interesting questions and yes doable, but there's a few things to think of, last I remember closing a popup that is open is going to give you a dumb warning something like 'host is trying to close window', and then you have to say 'yes' to it...  Not 100% sure but that's usually the problem with doing a plain 'javascript:window.close();'

I suggest you try to work the LMP Thank you into the limitations of the popup window, the other option is offer a DHTML popup, sometimes called a 'hover popup', that basically sits on the page you are on, when submitted, you end up displaying in a full window (the current window) the Thank You page when it is submitted.  

Good luck, let us know what you decide, got an URL to look at?
Thanks,
-Brett
http://www.bgswebdesign.com/Contact-Us.php

*** I do custom List Mail Pro installations ***
Contact me through my website (above)

JeffB

  • Posts: 8
    • View Profile
popup subscription form
« Reply #2 on: July 06, 2006, 09:45:20 pm »
Hey Brett,

It is a DHTML popup and I currently have the thank you page display in the popup. It's a little limiting but it works for now.

BGSWebDesign

  • Posts: 625
    • View Profile
    • http://www.bgswebdesign.com
popup subscription form
« Reply #3 on: July 07, 2006, 06:26:57 am »
Hi Jeff,

I see, that's interesting, I thought the DHTML popup would give the output in the entire window...   You might be able to close that window without the funny windows message... let me test something out... just a minute... that's interesting in the hover pop I use the entire screen is refreshed when the form is submitted!  Also there is some code that can hide the popup layer, you may be able to do the same thing, in this case in the <form> tag you would do what's called an 'onsubmit', when the form is submitted you run code similar to this:
Code: [Select]
javascript:hideLayer('popLayer'); which is how it works for my DHTML popup.

I'm currently studying DHTML popups (hover popups, or hover pops) right now and have looked at a few packages, us which software did you use to create yours?

I've looked at Dynamic Popup Generator and Focus Generator, they all seem to be in the $47-$97 price range.

Just curious which one worked for you?
Thanks,
-Brett
http://www.bgswebdesign.com/Contact-Us.php

*** I do custom List Mail Pro installations ***
Contact me through my website (above)

JeffB

  • Posts: 8
    • View Profile
popup subscription form
« Reply #4 on: July 09, 2006, 06:32:42 am »
Hey Brett,

I got the popup to close using 'onsubmit="javascript: parent.CloseWin();"' for the submit button. It's now working the way I wanted it to.

Jeff

BGSWebDesign

  • Posts: 625
    • View Profile
    • http://www.bgswebdesign.com
popup subscription form
« Reply #5 on: July 09, 2006, 08:57:07 pm »
Hi Jeff,

Quote
It's now working the way I wanted it to.


That's great, but you didn't fill me in on which Popup Generator you use, I'm curious since I'm researching this for use on my own site, can you tell me which worked best for you, the one you have seems to work great.
Thanks,
-Brett
http://www.bgswebdesign.com/Contact-Us.php

*** I do custom List Mail Pro installations ***
Contact me through my website (above)

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
popup subscription form
« Reply #6 on: August 15, 2006, 10:48:58 am »
Bump for Brett! :lol:
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting