Forums | MacLife

You are not logged in.

#1 2003-02-02 10:58 pm

Cyberpawz
Member
Registered: 2001-11-14
Posts: 10172

Welcome Safari User

We have all seen the "Welcome Safari User" Logo, how is this done, and how can I put it on my site?

Cyberpawz


Governing sense, mind and intellect, intent of liberation, free from desire, fear and anger, the sage is forever free.

Bhagavad Gita (c.B.C. 400)

Offline

 

#2 2003-02-03 11:17 am

gabrielk
Member
From: Los Angeles, CA
Registered: 2001-11-10
Posts: 17
Website

Re: Welcome Safari User

Mn, get the browser info from Safari ("user agent") and then use JavaScript, PHP, or your scripting language of choice to display the image when someone whose "user agent" matches the "user" info put out by Safari.

That's not exactly a step-by-step solution, but I'm on a PC right now, away from my Mac and my web-coding stuff. =P


//gabriel.k
"Having all your ducks in a row gives you the benefit of a longer line of ducks to trip over."

Offline

 

#3 2003-02-03 11:24 am

Cyberpawz
Member
Registered: 2001-11-14
Posts: 10172

Re: Welcome Safari User

Mn, get the browser info from Safari ("user agent") and then use JavaScript, PHP, or your scripting language of choice to display the image when someone whose "user agent" matches the "user" info put out by Safari.

That's not exactly a step-by-step solution, but I'm on a PC right now, away from my Mac and my web-coding stuff. =P

Hate to ask, but how do i do that?  I'm still learing javascript, and C... *smirks*

Cyberpawz


Governing sense, mind and intellect, intent of liberation, free from desire, fear and anger, the sage is forever free.

Bhagavad Gita (c.B.C. 400)

Offline

 

#4 2003-02-07 2:00 am

iopossum
Pope of England
From: Planet of the... Wait a minute
Registered: 2002-07-16
Posts: 2734
Website

Re: Welcome Safari User

[code]

Offline

 

#5 2003-02-07 10:17 am

Cyberpawz
Member
Registered: 2001-11-14
Posts: 10172

Re: Welcome Safari User

Thanks, how about taking it one step further...

Making it so it shows something if you use another type of browser...

and/or platform?

like

Mac/Safri
Mac/IE
Mac/Netscape
Win/Netscape
Win/IE
ect/ect

Cyberpawz


Governing sense, mind and intellect, intent of liberation, free from desire, fear and anger, the sage is forever free.

Bhagavad Gita (c.B.C. 400)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson