PDA

View Full Version : URL check


JohnNY Br4vo
08-14-2002, 01:42 PM
hi there!

i've got 6 popups - their opening should depend on the URL the user's comin' from!

so how can i "read out" the users URL?

hope my english's not 2 bad :rolleyes:

yours
-johnny-

Pieter
08-14-2002, 02:10 PM
<!-- Free JavaScripts at http://www.****************** -->
<html>
<title>Show url of last visited page</title>

<body >
Url of last visited page:
<script language = javascript>
x = document.referrer;
document.write (x);
</script>
</body>
</html>

<!-- end Source -->