Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kkirank

    Window.location for a local file

    Ok use this <html> <head> <script language = &quot;JavaScript&quot;> function changeLocation(){ window.location = 'file://C:/happy.html'; } </script> </head> <body> <INPUT TYPE=&quot;button&quot; VALUE=&quot;change&quot; onclick=&quot;changeLocation();&quot;> </body> </html>
  2. kkirank

    opening a html file without title bar, address bar, tool bar

    You can use a window.open() method. newWin =window.open(&quot;test.html&quot;,'TheNewpop','fullscreen=no,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no'); and in test.html add the following into the body tag style=&quot;overflow:hidden&quot; Hope this...
  3. kkirank

    Which OS is the java program running in?

    You can use the following example. 1. To get os name public class EnvVar { public static void main(String args[]) { String s = System.getProperty(&quot;user.name&quot;); System.out.println(s); } } 2. To get all the properties...
  4. kkirank

    Which OS is the java program running in?

    You can use &quot;System.getProperty(os.name)&quot;. Else if you just say &quot;System.getProperties()&quot;, will return you all the system property including OS name.

Part and Inventory Search

Back
Top