John Delmark Aguilar
Would you like to react to this message? Create an account in a few clicks or log in to continue.
John Delmark Aguilar

Personal Forum
 
HomeSearchLatest imagesRegisterLog in

 

 [JS] New Window (window.open)

Go down 
AuthorMessage
dElmARk
Admin
Admin
dElmARk


Posts : 92
Join date : 09/04/2012

[JS] New Window (window.open) Empty
PostSubject: [JS] New Window (window.open)   [JS] New Window (window.open) Icon_minitimeFri Feb 28, 2014 7:48 pm

Code:
<html>
<head>
<script>
function google(){
window.open("http://google.com", '_blank', 'left=0,top=0,width=500,height=500,resizable=false', true);
}
function youtube(){
window.open("http://youtube.com", '_blank', 'left=0,top=0,width=500,height=500,resizable=false', true);
}
function yahoo(){
window.open("http://yahoo.com", '_blank', 'left=0,top=0,width=500,height=500,resizable=false', true);
}
</script>
<center>
<input onclick="google()" value="Google" type="button"><br>
<input onclick="youtube()" value="Youtube" type="button"><br>
<input onclick="yahoo()" value="Yahoo" type="button">
</center>
</head>
</html>
Back to top Go down
https://delmark.forumtl.com
 
[JS] New Window (window.open)
Back to top 
Page 1 of 1
 Similar topics
-
» Basic Window(OOP)

Permissions in this forum:You cannot reply to topics in this forum
John Delmark Aguilar :: dElmARk Productions :: Web Coding-
Jump to: