|
Yeah, I don't do Opera although I'll sing just about anything.......
Could do
var isIE = navigator.userAgent.indexOf('MSIE') != -1 and
navigator.userAgent.indexOf('Opera') = -1;
But that could get tedious. I agree, Alfredo has a more elegant design
until someone builds a plugin that will run ActiveX in other browsers.
Then things will get ugly...
Pete
vhamberg@xxxxxxxxxxx wrote:
PeteMSIE and also contain the word Opera in this attribute. I did not want
Problem there is that some browsers, like Opera, report themselves as
something so messy as to deal with a bunch of browsers, although I would
have gone that way. Alfredo, though, wins a Dr Pepper at the next COMMON.
Safari.
Later
Vern
-------------- Original message --------------
From: Pete Helgren <Pete@xxxxxxxxxx>
User agent is what I have been using but I haven't had to deal with
use an
var isIE = navigator.userAgent.indexOf('MSIE') != -1;
Pete
vhamberg@xxxxxxxxxxx wrote:
Have a CGI app that builds a page with some Javascript - it can try to
I willActiveX object, but, of course, that is invalid in Firefox - or at least
think istreat it as such.
I've looked at some ways to know that the browser is IE - UserAgent I
it.one but things like Opera can make themselves look like IE for part of
object. I
The use of the ActiveX object involves a javascript:void that calls afunction. That function tries to execute a function in the ActiveX
thathave tried a try-catch around the javascript:void but am seeing - doh -
there?there will never be an error at that point that I can respond to - or is
but it's
In firefox, the call to the ActiveX function does generate an error,
have toburied in the javascript:void.
So what are my options? Back to useragent or whatever it's called? -
use thecheck google again. Or is there a way to check some error back where I
--javascript:void?
Or something else!!--
Thanks
Vern
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.