PDA

View Full Version : Java close window code


GLC Mr Pain
07-02-2000, 17:28
Hi,
Bit embarrased to be asking dumb questions, im meant to be good at this, buttttt how do you make a pop up window a specific size and how can i assign a close button within that window, you could ask me anything bout Flash but Java goes right over my head!

Cheers

Tom

Qui
17-02-2000, 01:21
function ShowMember(loc)
{
window.open(loc,'Popup','toolbar=no,location=no,directories=no,st atus=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,widt h=325,height=375')
}

put that at the top of your page, then whenever you want to open a window of size 325 by 375 put

<A HREF="Javascript:ShowMember(url.htm')">
click here!</A>