Kan pagina niet vinden

Status
Niet open voor verdere reacties.
Met een redirect.

Even gevonden.........

THANK YOU
1/

<SCRIPT LANGUAGE="JavaScript">
<!--
function redirect() { window.location.href = "confirmed.htm"; }
-->
</SCRIPT>

<INPUT TYPE=submit VALUE="Send it!" onClick="redirect()">

add the script to the <head> of your email document & the <input> to the form,
with the <input> tag all you really have to do is add onClick="redirect()" to the end
of the <input> submit button like i have done in the example

2/
If you don't want them using their browser back button
to return to the form page, use location.replace

<HEAD>
<script type="text/javascript">
function redirect(){
document.ordEr.submit();
location.replace('http://www.confirmed.htm');
}
</script>
</HEAD>

<BODY>
<form method="post" enctype="text/plain" name="ordEr" action="mailto:you@yourdomain.com">
<input type="text" value="">
<input type=button value="Submit" onclick="redirect(); return false;">
</form>

waarbij dus
http://www.confirmed.htm
je eigen thankyou.html moet zijn.

:cool:

///edit
je pagina heet
http://home.wanadoo.nl/westerlaak/bedankt.html
en dit staat dus niet in de cgi,
adres is dus niet correct.
 
Laatst bewerkt:
Sorry, maar dit snapp ik niet meer.
Kun je me er wat meer uitleg over geven?

Groeten Oossie
 
Hetgeen in je form staat verwijst naar de cgi.
Dit moet je aanpassen.

Bij de submit zou je de OnClick kunnen toepassen.
Dus een van de twee scriptjes gebruiken.

:cool:
 
Hoe moet deze regel er dan uitzien?

Heb het een en ander geprobeerd, maar krijg het niet werkend.

Regel:
<form method="POST" action="/cgi-bin/mailto/westerlaak/html/bedankt.html?********@planet.nl">
 
Info:
The correct usage is to create a form that starts with:

<FORM METHOD="POST" ACTION="/cgi-bin/mailto/<URL-path>?<email-address>">

Where <URL-path> is the pathname of the of the document you want to be displayed after the form is submitted, and <email-address> is the email address where the form should be mailed to.

Example:

<FORM METHOD="POST" ACTION="/cgi-bin/mailto/users/joe/thanks.html?joe">

If the form contains a field named subject, the value of this field will become the Subject header of the email message. You can also use this in a hidden field:

<INPUT TYPE="hidden" NAME="subject" VALUE="Info request">


Probeer een van deze twee eens:
<form method="POST" action="/cgi-bin/mailto/http://home.wanadoo.nl/westerlaak/bedankt.html?xxxx@planet.nl">
<form method="POST" action="/cgi-bin/mailto/westerlaak/bedankt.html?xxxx@planet.nl">

Je hebt nu deze:
<form method="POST" action="/cgi-bin/mailto/westerlaak/html/bedankt.html?xxx@planet.nl">

zit dus /html/ tussen.

:cool:
 
Bedankt.

Deze moest het zijn:
<form method="POST" action="/cgi-bin/mailto/westerlaak/bedankt.html?xxxx@planet.nl">

echter ik krijg wel de goede pagina nu,maar het thema is niet meer zichtbaar. Terwijl dat in frontpage wel werkt. Ik heb alles op de server al een keer overschreven, echter dat bood geen soelaas.
Hopenlijk heb je hier ook nog een suggestie voor.

Groeten Oossie
 
Thema?
Ik zie een blauwe achtergrond met bolletjes.

In de code kan ik niks raars ontdekken.

:cool:
 
Ik zie die ahtergrond niet, maar alleen een witte achtergrond.:(
Maar we puzzllen vrolijk verder.
Bedankt in ieder geval.

Groeten Oossie.
 
Als je niet ziet wat ik zie:
je Temp internet files legen
of
herhaaldelijk op F5 drukken

zou moeten helpen.

:cool:
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan