how to redirect someone bac to the last page automatically

M

maugon

hi,
im looking for a html script that can do the following at the same time;

1. the page that the script is on automatically redirects the page to the
last page viewed
and
2. to open another window up and directing it to a specified url.

can this be done and if so can I have the lines of code please.
 
A

Ash Furrow

maugon said:
hi,
im looking for a html script that can do the following at the same time;

1. the page that the script is on automatically redirects the page to the
last page viewed
and
2. to open another window up and directing it to a specified url.

can this be done and if so can I have the lines of code please.

http://www.javascriptmall.com
try any *free* javascript tutorial and learn to do it yourself.
 
P

PW

<%if Request.QueryString("txtSalePostCode") = "" then%>
<SCRIPT LANGUAGE="VBScript">
MsgBox "You must enter the postcode", 16
history.go(-1)
</SCRIPT>
<%Response.End%>
<%end if%>
 
B

Beauregard T. Shagnasty

Quoth the raven PW:
<%if Request.QueryString("txtSalePostCode") = "" then%>
<SCRIPT LANGUAGE="VBScript">
MsgBox "You must enter the postcode", 16
history.go(-1)
</SCRIPT>
<%Response.End%>
<%end if%>

...and if the visitor is not using IE?

[Please quote some relevant part of the message you are replying to.
Thanks.]
 
B

brucie

in post: <
PW said:
<SCRIPT LANGUAGE

the language attribute was introduced in the 1997 HTML 4 working draft
and was immediately deprecated in favor of the type attribute.
="VBScript">

vbs is only suitable to be used in controlled environments such as intra
and maybe some extra nets.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top