Click to See Complete Forum and Search --> : bring the window infront on the screen


TPM
02-22-2005, 05:10 PM
hi
at first, sorry for my english.

I use a link in main window to open a new named window
then I click on the main window putting that new window in the behind (main window ontop of new window)
now I click the link again in the main window, but because the named window is already open, it's reload itself.

my problem is that, that window stays on the back, behind the main window and I want it to come back infront of the screen, each time I call it.

I'm not sure it's pure HTML, but hope someone could give me a direction.
Thanks.

TPM
02-22-2005, 06:17 PM
I found it !

window.focus();

gazanime
03-23-2005, 06:52 PM
I wanted to make a message board for all visitors to post on... but myshoutbox.com's
is way to small for a full page message board/shoutbox what website would have full page messageboards like the ones you use?

cthurow
04-11-2005, 10:03 AM
var DummyTime = new Date();
var ReportURL = "";
ReportURL = location.protocol + "//" + location.hostname;
if (location.port != "" && location.port != null) ReportURL += ":" + location.port;
// if(RptWin != null && RptWin.closed == false) RptWin.close();
RptWin = window.open(ReportURL + "<!--*QZAPPA-->cgi-bin/rpt0007?QZCLNT=<!--*QZCLNT-->&QZSESS=<!--*QZSESS-->&QZAPPA=<!--*QZAPPA-->&DUMMY=" + DummyTime.getTime(), "RptWin", "scrollbars=yes,resizable=yes,width=750,height=480,toolbar=no,directories=no,menubar=no");
RptWin.TopVar = self; // TopVar;
RptWin.moveTo(20, 20);
RptWin.focus();