Closing a framed page automatically?

  • Thread starter Thread starter mjd
  • Start date Start date

mjd

mjd

Permabanned
Joined
21 Oct 2002
Posts
1,074
Location
Llanelli, S.Wales
Forgive me if I dont explain this too well but here goes.

I have setup a form with a free form processing service.
Once the form is submitted it redirects to a page of my choice. This page is set in a framed page with an ad-banner at the top. i.e the down side to the free service.

What I am hoping I can do is automatically load another page immediately after the redirection, to avoid the ad-banner.

The framed page is split into two frames, my page at the bottom, and the ad banner at the top.

Can I do some sort of auto-refresh/redirect that uses the whole window as the target?

Hope that makes sense.
 
If you're trying to get past the ads on free hosting or something then your site will be removed.

Well, it would if it was my free web hosting you're using and a lot of other free web hosting providers will remove your account if you try get past the ads. Won't mention our (me and other admin) free web hosting here though, I'll be told off.

Craig.
 
Hi,

The website is hosted on my own ISP provided webspace, as its a site for my sisters wedding and doesnt require anything too fancy.

I have the form launching in a new window.
The form is from www.formsite.com.

Wouldnt think there would be a problem, as they provide redirection to a page of my choice, and it doesnt mention anything about it not redirecting to a page that automatically closes the window.
 
Thinking about it....I only actually need one of two things.

A page that will close the fgramed window automatically

or

A page that will refresh the entire window with a page of my choice
 
have that form you made point to a page. just fill it with a bunch of keywords and stuff like that and use meta refresh and stick it in the <head> part of the page.

Code:
<META HTTP-EQUIV=Refresh CONTENT="0; URL=http://www.mjd.com/thankyou.htm">

There are some disadvantages to using this, especially with a refresh time of 0 seconds. but its the easiest way to change the page in the browser without it changing inside the actual frame. Look it up on google for advantages and disadvantages.

If you want, i can probably make you a form which will be better and do the same function if not better.
 
Back
Top Bottom