PDA

View Full Version : display web page



midhul
02-11-2008, 03:45 PM
hi,

i want a java code which makes a window that displays a web page!

can some one help me!

boogyman
02-11-2008, 09:41 PM
I am going to assume you are talking about Javascript and not the extremely different language of Java.



var popWin = window.open('url','name','toolbars');
popWin.focus();

where
url = website address you wish to open up
name = name you wish to call the new window
toolbars = the properties of that new window
example 'width=600,height=400,top=0,left=0,scrollbars=yes,menubar=yes,statusbar=yes,resize=yes'

midhul
02-12-2008, 10:57 AM
hey,

sorry i am talking about java not javascript

!!!!!11111:eek: