🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #39285

Re: IE i refresh w pop-upie

#39285
From: Hugo Dworak
Date: Thu, 30 Mar 2006 12:06
50 lines
1695 bytes
On 2006-03-30 09:35 Grzesiek wrote:
> Hej Deweloperzy!
> 
> sprawa banalna: otwieram pop-up i odswiezam go co jakis czas - dziala w
> Firefoxie ale w IE wypluwa blad: Permission Denied. Macie jakies
> sugestie jak zmusic ten skrypt do dzialania w Misiu?? :) Bede
> wdzieczny.
> 
> Pozdrawiam,
> Grzesiek
> 
> <html>
> <script>
> 
> var popup;
> var intervalHandler;
> 
> 
> function odswiez() {
> 
> popup.location.reload(true);
> 
> }
> 
> function funkcyjka () {
> 
> popup = window.open('http://google.pl','okienko');
> intervalHandler = setInterval("odswiez()",30000);
> 
> }
> 
> </script>
> 
> <body onload="funkcyjka()">
> 
> </body>
> </html>

Witam,

function odswiez () {
  popup.close ();
  popup = window.open ('http://google.pl', 'okienko');
}

Pozdrawiam,

-- 
Hugo Dworak
http://hugod.makes.it/
Technical Details
Message-ID: <e0ghju$mvl$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <1143707724.469538.321640@i40g2000cwc.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Hugo Dworak <fake@fake.fake>
Newsgroups: pl.comp.lang.javascript
Subject: Re: IE i refresh w pop-upie
Date: Thu, 30 Mar 2006 13:06:14 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 50
Message-ID: <e0ghju$mvl$1@inews.gazeta.pl>
References: <1143707724.469538.321640@i40g2000cwc.googlegroups.com>
NNTP-Posting-Host: 193.136.66.28
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1143720382 23541 193.136.66.28 (30 Mar 2006 12:06:22 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Thu, 30 Mar 2006 12:06:22 +0000 (UTC)
X-User: hugo.dworak
In-Reply-To: <1143707724.469538.321640@i40g2000cwc.googlegroups.com>
User-Agent: Thunderbird 1.5 (Windows/20051201)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit