🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #13067

Re: html - netscape <-> ie

#13067
From: Scatter
Date: Thu, 23 Aug 2001 17:25
31 lines
1786 bytes
"Michael De Nil" <michael@aerythmic.be> schreef in
news:YJah7.12753$6x5.3426524@afrodite.telenet-ops.be: 

> zou je nog even kunnen zeggen wat dan te doen wanneer ik bv wil
> in netscape: <body background="./pics/1.jpg">
> in ie: <body background="./pics/2.jpg">
> 

<html>
<head>
<script>
if (document.all)    {n=0;ie=1;}
if (document.layers) {n=1;ie=0;}
</script>
</head>
<script>
if ( ie == 1 )
	{ document.write("<body background='image1.gif'>");}
if ( n == 1 )
	{ document.write("<body background='image2.gif'>");}
</script>


Hello
</body>
</html>

-- 
Greetz, Scatter

All computers wait at the same speed.
Technical Details
Message-ID: <Xns9106C5A025A67Scatter@195.130.132.65>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!wanadoo.fr!opentransit.net!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
References: <LS8h7.12575$6x5.3363447@afrodite.telenet-ops.be> <Xns9106B3DF0BAD6Scatter@195.130.132.65> <YJah7.12753$6x5.3426524@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,f0429959d3570b1c
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2001-08-23 10:25:39 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!wanadoo.fr!opentransit.net!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
Newsgroups: be.comp.programming
Subject: Re: html - netscape <-> ie
From: Scatter <a@b.c>
References: <LS8h7.12575$6x5.3363447@afrodite.telenet-ops.be> <Xns9106B3DF0BAD6Scatter@195.130.132.65> <YJah7.12753$6x5.3426524@afrodite.telenet-ops.be>
Organization: -
Message-ID: <Xns9106C5A025A67Scatter@195.130.132.65>
User-Agent: Xnews/4.06.22
X-Face: c>767>,|@SG2uf`3Fw)::9l:5?BQ17a,tcV^ceAt%u@!Kj%g26tk{t~%/@H"9__>56I7ycN6h1_U2v^p)IUZP#br{#lDP1QLuEIeFiY)~4R~GJ_fr;x|>R2$y"|$FiF%/Lk+Sj>vX{Jl~PY=P+7w
Lines: 31
Date: Thu, 23 Aug 2001 17:25:38 GMT
NNTP-Posting-Host: 213.118.81.176
X-Complaints-To: abuse@pandora.be
X-Trace: afrodite.telenet-ops.be 998587538 213.118.81.176 (Thu, 23 Aug 2001 19:25:38 MET DST)
NNTP-Posting-Date: Thu, 23 Aug 2001 19:25:38 MET DST