Entry
Clicking a button,new window is opened &it is minimised.If same button clicked,same window be opened
Jun 19th, 2001 02:26
Jean-Bernard Valentaten, Srikant Keerti,
If you had read the manual, you'd know it!!
Here's the answer anyway:
var someXValue = 800;
var someYValue = 600;
function winHandle()
{
if (newWin && !newWin.closed)
{
newWin.resizeTo(someXValue, someYValue);
newWin.focus();
}
else
{
newWin = window.open
('www.someURL.someTLD/someFile', 'newWin', 'width = 10, height = 10,
resizable=yes');
newWin.blur();
self.focus();
}
}
HTH