PDA

View Full Version : Ive been framed!!!!


macazone
05-09-2004, 11:49 PM
Hi all, I am building a website using frames which is working ok. The links on the menu open in the main frame. However if I have the contact page opening in the main frame, on submit I want to redirect visitors back to the index page (frameset) but the frameset opens in the main frame ie a frameset within a frameset. Hense my contact page at the momnet is a stand alone page.

Does any body know the code to that can help?

macazone

www.4mygarden.co.uk

webado
05-10-2004, 12:11 AM
Not sure of this. I see your contact page uses a Perl script. I've only used php scripts for mail forms, perhaps the principle is basically the same.

There is a "success" or "thank you" page that you may refer to after the actual mailing is done, a URL to which the script proceeds at the end. I am not sure if this is the same as that specified in your contact form in this line:


<INPUT name=redirect
type=hidden value="http://www.4mygarden.co.uk/index.htm" >


Have you tried to specify instead :

<INPUT name=redirect
type=hidden value="http://www.4mygarden.co.uk/home.htm" >


And go back to opening the contact.htm inside a frame in your index.htm file.

macazone
05-10-2004, 08:15 AM
Thank you very much Chrisooc you are a star. I have tried a few different combinations but then got frustrated and left it for the easy option 4 time being. It works very well.

Any other suggestions about the site from anyone would be most welcome.

macazone

webado
05-10-2004, 02:09 PM
Any other suggestions about the site from anyone would be most welcome.
macazone

How about adding a spellchecker to your contact form? It's free and quite easy to install from www.spelchek.com.