[Javascript] reload calling page
Michael Mehlmann
mailing_list at gmx.at
Tue Aug 7 00:41:11 CDT 2001
Hi!
on page1 is a link-collection with a click-statistics!
So if someone clicks on a link, a new window page2 is opened that should:
.) reload page1 to see the changes in the click-statistics
.) redirect to the link
my problems:
<head><META HTTP-EQUIV="REFRESH" CONTENT="0; URL=<? echo $url;?>"></head>
<body onUnload='self.opener.location.reload(true)'></body>
this will work for MSIE5 as I want it to!
with NS4, the page1 isn't reloaded by the javascript-code!(?????)
with NS6, page1 reloads, but gets the focus (don't know, what I can do
against that!!!)
if you have got any ideas, please let me know!!!
thanks
Michael
> It depends on the weight of the font you use whether it is too heavy for
> JS!
>
> Seriously, personally I hate the way pop up windows are used 99 44/100% of
> the time. Having said that try the following:
>
>
> In page2's onload function do opener.window.location.reload()
>
> But you haven't explained why you want page1 to reload.
>
>
> Bob Filipiak (Contractor)
> MCP
>
> -----Original Message-----
> From: Michael Mehlmann [mailto:mailing_list at gmx.at]
> Sent: Monday, August 06, 2001 1:10 PM
> To: javascript at LaTech.edu
> Subject: [Javascript] reload calling page
>
>
> Hi!
>
> I want to click a link on page1
> this opens a page2 in a new window (with focus)
> and when this new window (page2) is loaded, I want it to reload page1
> (without page1 getting the focus)
>
> so when the user closes the window with page2 in it, he will see the
> already
> reloaded page1 !!!
>
> non-JS.Browsers should only open page2 in a new window (without doing the
> reload of page1)
>
> Is this possible?
> or is this too heavy for JS???
>
> thanks for any hints!!!
>
> Michael
>
> --
> Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne
> Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung!
> http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
>
--
Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne
Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung!
http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010807/b4dffc4c/attachment-0001.htm>
More information about the Javascript
mailing list