Forum Moderators: mack
The info was sent properly to the autoresponder (AWeber) but the thank you page did not display, just the error page. I believe this is due to the javascript we tried to use.
Please help.
What code were you using that gave you the error? It might help if you posted it. Sometimes it turns out that it's something really simple that causes the whole thing to fall over and die!
I don't know how you want to open your window, but you could use the following code within JavaScript <SCRIPT></SCRIPT> tags -
window.open('page.html','newWin','width=400,height=400'); ...where 'page.html' is the page you want to be displayed, and 'newWin' is the name of the new window. Be warned though - I haven't testing this myself - I'm using asp.net and had to use a bit of dynamic JavaScript to get working what I wanted, but I'm fairly confident this will work too!
Let us know if you get it sorted.
B
<edit_reason>Me being a muppet</edit_reason>
onClick="window.open(.....)"
[edited by: rogerd at 8:39 pm (utc) on Aug. 25, 2005]
[edit reason] No sigs or URLs, please... [/edit]
in full, including some variables:
<a class="thumblink" href="http://www.example.com/portfolio/slideshow.php?c=South Africa&keys=Animals" onclick="window.open('http://www.example.com/portfolio/slideshow.php?c=South Africa&keys=Animals','', 'width=500, height=500, location=no, menubar=no, status=no,toolbar=no, scrollbars=no, resizable=no'); return false">See as slideshow</a>
<Sorry, no personal URLs.
See Terms of Service [webmasterworld.com]>
[edited by: tedster at 12:57 pm (utc) on Aug. 30, 2005]