When you think ASP, think...
Recent Articles
All Articles
ASP.NET Articles [1.x] [2.0]
ASPFAQs.com
Message Board
Related Web Technologies
User Tips!
Coding Tips
Search

Sections:
Book Reviews
Sample Chapters
Commonly Asked Message Board Questions
Headlines from ASPWire.com
JavaScript Tutorials
MSDN Communities Hub
Official Docs
Security
Stump the SQL Guru!
Web Hosts
XML Info
Information:
Advertise
Feedback
Author an Article
Technology Jobs



















internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers
ASP ASP.NET ASP FAQs Message Board Feedback ASP Jobs
Print this page.

Lead Test Engineer
The Computer Merchant, Ltd
US-SC-Charleston

Justtechjobs.com Post A Job | Post A Resume

Published: Tuesday, September 29, 1998

JavaScript Statistics Scripts


Introduction:
Here are some neat JavaScripts provided by the folks at Javascripts.com. These scripts can be used to determine and display statistics about your visitors.


Output:

- continued -

Code:
<SCRIPT LANGUAGE="JavaScript">

      var where = document.referrer;
      var name = navigator.appName;
      var vers = navigator.appVersion;
      document.write("<FONT FACE=Arial>You came from "+where+" <BR>Via "+name+" "+vers+" ");

</SCRIPT>


Conclusion:
You can use JavaScript to display your visitor's information. You can use this information to redirect visitors to other pages, a page that is explicitly coded for Internet Explorere or Netscape. Happy Programming!


Windows Internet Technology | ASP.NET [1.x] [2.0] | ASPMessageboard.com | ASPFAQs.com | Advertise | Feedback | Author an Article