🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #81

help! javascript inline of an HTML to open an HTML in a target window

#81
From: Lucy
Date: Tue, 30 Dec 2003 14:11
23 lines
1776 bytes
help! javascript inline of an HTML to open an HTML in a target window.
Something like...

<html>
<head>
<title>test</title>
</head>

<body>

hello, world!<BR><BR>

javscript:"window.open('file.html','NewWindow',blah)"

But I can't remember, can't find an example and i really need a way
to open a html file in a window without the user pressing a key or anything.

ANY help would be appreciated.  This is due in a few hours and it's the last
bit of code to drop in.

Thanks!

lucyh at dhimaging dot com dot au
Technical Details
Message-ID: <bss18l$jt5$1@gnamma.connect.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1047b3,7491ca8b4d7c0d54,start
X-Google-Attributes: gid1047b3,public
X-Google-Thread: fb3cb,7491ca8b4d7c0d54,start
X-Google-Attributes: gidfb3cb,public
X-Google-Thread: 10d6db,7491ca8b4d7c0d54,start
X-Google-Attributes: gid10d6db,public
X-Google-ArrivalTime: 2003-12-30 06:14:53 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!not-for-mail
From: "Lucy" <someone@somewhere.com>
Newsgroups: aus.computers.java,comp.lang.javascript,microsoft.public.scripting.wsh
Subject: help!  javascript inline of an HTML to open an HTML in a target window
Date: Wed, 31 Dec 2003 01:11:21 +1100
Organization: Customer of Connect.com.au Pty. Ltd.
Lines: 26
Message-ID: <bss18l$jt5$1@gnamma.connect.com.au>
NNTP-Posting-Host: dsl-210-11-214-227.mel.level10.net.au
X-Trace: gnamma.connect.com.au 1072793685 20389 210.11.214.227 (30 Dec 2003 14:14:45 GMT)
X-Complaints-To: abuse@connect.com.au
NNTP-Posting-Date: 30 Dec 2003 14:14:45 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106