FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


[java scripts] System information





JANKOW
Address of current document

Code:
<script language="JavaScript" type="text/javascript">
<!--
   document.write("Address of current document  " + document.location);
// -->
</script>


Detection previewer and operating formation

Code:
<script language="JavaScript">
<!--
   document.write("Używasz " + navigator.appName + " " + navigator.appVersion);
// -->
</script>


Test JavaScript

IN HEAD

Code:
<script language="JavaScript">
<!-- Hide the script from old browsers --
// Michael P. Scholtis (mpscho@planetx.bloomu.edu)
// All rights reserved.  December 22, 1995
// You may use this JavaScript example as you see fit, as long as the
// information within this comment above is included in your script.
function browsertest ()
        {document.write('<font color=#FF0000><b>Your previewer passed test JavaScript favourably </b></font>')}
// --End Hiding Here -->
</script>
IN BODY

<SCRIPT LANGUAGE="JavaScript">
<!--
   {browsertest();}
//-->
</SCRIPT>




Suggesting the resolution of screen

Code:
<script language="JavaScript1.2">
<!--

/*

Screen resolution detecter script: By Website Abstraction (www.wsabstract.com) More free scripts here! Note: Credit must stay intact for use.

*/

var correctwidth=1952
var correctheight=1283
if (screen.width!=correctwidth||screen.height!=correctheight)
document.write("<font color=#FF0000>To look at side the best in resolution "+correctwidth+"*"+correctheight+". Resolution of your screen this "+screen.width+"*"+screen.height+". If this possible, alter resolution !</font>")
//-->
</script>
Related topics
[java scripts ] Multimedia
[ java scripts ] email service
[java scripts] Text effect , img ....
Free Scripts Resources
751 Useful Windows XP Files
Where to find Java Scripts
What are your Firefox extensions
how did you learn about html, php or other languages???
mobile programmers codes
Best system diagnostics and benchmarking
COFREE de Software
Msn Plus! Live Scripting...
does javaScript code runs on selected browsers?
jython for web applets
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.