🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.javascript
Article #38

Mac - PC script

#38
From: Zorro
Date: Sat, 19 Dec 1998 00:00
14 lines
1349 bytes
Is it possible to write a script that checks if the user uses a Mac or a PC,
and then load the according image?

I have a website layout with three images per page. I want to keep the
layout, but for each image i want the script to check for the computer used,
and then put the right image on it's place.

I know how it's done with a simple script, but this script redirects to
another page. You'll have to build two pages, one for the PC version, one
for the Mac. I want to do it in the page, for each image seperate.

Thanx very much for your help.

Please reply via e-mail
Technical Details
Message-ID: <75g3gj$mbr$1@news0.skynet.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb3cb,92b42401de2464ae,start
X-Google-Attributes: gidfb3cb,public
X-Google-Thread: 10b08a,92b42401de2464ae,start
X-Google-Attributes: gid10b08a,public
X-Google-Thread: f4ad3,92b42401de2464ae,start
X-Google-Attributes: gidf4ad3,public
From: "Zorro" <erwin.maes@skynet.be>
Subject: Mac - PC script
Date: 1998/12/19
Message-ID: <75g3gj$mbr$1@news0.skynet.be>
X-Deja-AN: 423910525
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
X-Complaints-To: abuse@skynet.be
X-Trace: news0.skynet.be 914067795 22907 195.238.11.171 (19 Dec 1998 11:43:15 GMT)
Organization: emi
NNTP-Posting-Date: 19 Dec 1998 11:43:15 GMT
Newsgroups: comp.lang.javascript,be.comp.internet,nl.internet.www.ontwerp