Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-05-11 20:50:26

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

alert window for safari users?

Id like to put in a simple alert javascript that checks if the browser is safari and says

"You are using safari.  This page currently uses a wysiwyg editor that is not supported by Safari.  You will not be able to take advantage of many of the editor's features available to browsers such as Firefox, Netscape, or Internet Explorer.  You will only have access to a normal textbox.  If you wish to, please use one of the browsers mentioned above"

and have them be forced to click "OK" .

Can anyone help?

Thanks,
Will

Offline

#2 2005-05-11 21:26:39

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: alert window for safari users?

Just put it in the <head> of your document, sniff the browser and display the alert if it's safari.  There are many, many browser sniffing scripts out there, google is your friend.


James Sleeman

Offline

#3 2005-05-12 02:30:55

willeffects
Xinha Authority
Registered: 2005-03-19
Posts: 130

Re: alert window for safari users?

Offline

#4 2005-05-12 04:11:48

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: alert window for safari users?

in the cms i use i just display some text bevore the textarea.
a alertbox is annoying imho - it will popup everytime...


Niko

Offline

Board footer

Powered by FluxBB