Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 post_info.asp ("thank you page")
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 02 July 2003 :  19:08:00  Show Profile  Visit PeeWee.Inc's Homepage
Is there any way to get the "thank you" page to pop open in a pop upand not load in the main browser?

Also, if this could be done could it be done with a timer to close the pop up after say 10 - 15 secs and then re-direct then main browser to the post just made?

De Priofundus Calmo Ad Te Damine

Etymon
Advanced Member

United States
2385 Posts

Posted - 03 July 2003 :  00:41:21  Show Profile  Visit Etymon's Homepage
quote:
Originally posted by PeeWee.Inc

Is there any way to get the "thank you" page to pop open in a pop upand not load in the main browser?

Also, if this could be done could it be done with a timer to close the pop up after say 10 - 15 secs and then re-direct then main browser to the post just made?



PeeWee,

Here is an older source that I use whenever I am in a tight spot for Javascript ... www.irt.org (Internet Related Technologies). Go to this area for starters on Javascript and windows (popups) ... http://developer.irt.org/script/window.htm

You may have to do a search. The site takes questions such as yours and lists them according to category, so you may find a question similar to yours when you do your search.


Cheers,

Etymon
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 03 July 2003 :  11:49:34  Show Profile
quote:
Originally posted by PeeWee.Inc

Is there any way to get the "thank you" page to pop open in a pop upand not load in the main browser?

Also, if this could be done could it be done with a timer to close the pop up after say 10 - 15 secs and then re-direct then main browser to the post just made?


It should be possible to open post_info.asp in a pop-up, but I'm wondering why would want to do that? For example people with a pop-up blocker probably wouldn't get their posts saved unless they add your site to a bypass list (or whatever it's called). Not to mention the fact that you'd still have post.asp open in the main window, possibly causing confusion as to whether or not a post is saved.

You should however be able to redirect people to the post they just made. For replies it's easiest if you use the topic_id and the topic's page number and then pull the new reply's ID from the database once it's saved.
For new topics it's a bit easier since you won't have to know any IDs and only need to pull the new ID from the database once the topic is saved.

Right now I don't have time to mess around with the codes, but if nobody else comes with a solution and you want me to give it a shot, let me know
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07