home *** CD-ROM | disk | FTP | other *** search
/ PC User 2005 May / CD / PCU0505CD.iso / software / full / coffecup / files / html2005.exe / %MAINDIR% / Javascript / HowTheUserGotToYourPage.xml < prev    next >
Encoding:
Text File  |  2005-02-16  |  933 b   |  37 lines

  1. <ccResource>
  2.   <ccTitle>
  3. How the user got to your page
  4.   </ccTitle>
  5.   <ccCategory>
  6. Browser
  7.   </ccCategory>
  8.   <ccDescription>
  9. This script tells the user where he came from and what browser and operating system they are using.  
  10.   </ccDescription>
  11.   <ccInstructions>
  12. You can change the Font color, size, and text of the message if you wish.
  13.   </ccInstructions>
  14.   <ccHeadContent>
  15.   </ccHeadContent>
  16.   <ccBodyContent>
  17. <center><script language="javascript">
  18. <!--
  19. var where = document.referrer
  20. var name = navigator.appName
  21. var vers = navigator.appVersion
  22.  
  23. document.write("<FONT COLOR=black><FONT SIZE=2>...and you came here via <BR>"+where+" <BR> "+name+"  "+vers+"<BR></FONT></FONT>")
  24. // -->
  25.  
  26. </script></center>
  27.   </ccBodyContent>
  28.   <ccElementContent>
  29.   
  30.    <ccElementName></ccElementName>
  31.    <ccElementAction></ccElementAction>
  32.    
  33.   </ccElementContent>
  34.   <ccExtraData>
  35.  
  36.   </ccExtraData>
  37. </ccResource>