/    Sign up×
Community /Pin to ProfileBookmark

Hello I have a problem. I am trying to do something that is probably pretty simple to do but I do not understand how to do it.

I need to go to pageZ from pageX, but I have to go to pageY first which is on a different server and they will not redirect for me.

Let me elaborate. My client wants people to click on a submit button on pageX on her server which takes the usre to her newsletter in a new instance of a browser on a different server which I have no control over. They enter their email, name, and state and click the submit button and they get a thank you page which you click the Thank you button and it closes the new instance of the browser on the remote server and reveals the original instance of the browser which she wants to be at pageZ where the user can download stuff. If we simply put a link to pageZ on pageX they do not have to sign up for her newsletter.

I can not redirect automatically as they will never see the sign up form.

I can not redirect on a time basis as the user may want to read the content of her pageX.

How can I redirect this page? Thank you min advance for your help.

Jerry S.
email: [email][email protected][/email]

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@gphNov 13.2005 — My client wants people to click on a submit button on pageX on her server which takes the usre to her newsletter [B]in a new instance of a browser[/B][/QUOTE]
That part will need window.open()

IMO window.open() is on it's way out. It's already easily manipulated in modern browsers and IE with popup blockers in ways js has no control. IE7 will use tabs and users will likely be able to alter window.open() as easily as FF and Opera.

I think you should try to convince your client to rethink this idea. Maybe use iframes
Copy linkTweet thisAlerts:
@kinkNov 14.2005 — use window.open it will bring up a new browser and your page will remain when its closed
×

Success!

Help @BuckWheat spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...