Ok use this
<html>
<head>
<script language = "JavaScript">
function changeLocation(){
window.location = 'file://C:/happy.html';
}
</script>
</head>
<body>
<INPUT TYPE="button" VALUE="change" onclick="changeLocation();">
</body>
</html>
You can use a window.open() method.
newWin =window.open("test.html",'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="overflow:hidden"
Hope this...
You can use the following example.
1. To get os name
public class EnvVar {
public static void main(String args[]) {
String s =
System.getProperty("user.name");
System.out.println(s);
}
}
2. To get all the properties...
You can use "System.getProperty(os.name)". Else if you just say "System.getProperties()", will return you all the system property including OS name.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.