Checking document referrer : Document : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » Document »

 

Checking document referrer



<HTML>
<HEAD>
<TITLE>document.referrer Property 2</TITLE>
</HEAD>
<BODY><H1>
<SCRIPT LANGUAGE="JavaScript">
if(document.referrer.length > && document.referrer.indexOf("http://www.navioo.com"!= -1){
    document.write("How is the site?")
else {
    document.write("Hello, and thank you for stopping by.")
}
</SCRIPT>
</H1></BODY>
</HTML>

           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» Document