www.webdeveloper.com
Results 1 to 6 of 6

Thread: Browser Support Question

Hybrid View

  1. #1
    Join Date
    Jan 2003
    Location
    Collinsville, Illinois. Just outside St. Louis
    Posts
    11

    Question Browser Support Question

    I know it's possible to check what browser and version is being used when someone enters your site or clicks a link. I've seen code to send messages that the application does or doesn't support a browser. But...

    Does anyone know if it's possible (or better yet how) to code a link so that if the person clicking is using Netscape, they are notified that the application works only in Internet Explorer, AND the IE browser is fired automatically to bring up the page?

  2. #2
    Join Date
    Nov 2002
    Posts
    2,632
    Why don't you just put a note up saying that your application only works in IE.

  3. #3
    Join Date
    Jan 2003
    Location
    Collinsville, Illinois. Just outside St. Louis
    Posts
    11
    That was my suggestion, as was a pop up window with a message if people clicked the link anyway.

  4. #4
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    What this will do is alert non-IE users that the page works only in IE, and IE users will get the page you want them to. There is no way to fire the IE browser from Netscape. If it were, it would be a major security hole. I don't know if the following script helps you, but...

    Code:
    <html>
    <head>
    <title>
    </title>
    <script language=javascript>
    function openwin()
    {
    if (navigator.appName == "Microsoft Internet Explorer")
    {
    
    window.location = "popup.htm";
    }
    else
    {
    alert ("This page only works in Microsoft Internet Explorer");
    }
    }
    </script>
    </head>
    <body>
    <a href="#" onClick="openwin();">test</a>
    </body>
    <html>

  5. #5
    Join Date
    Nov 2002
    Posts
    984
    Wouldn't the smart thing here be to design an app that works in ALL (at least modern) browsers?

    To begin with IE only shuts out all Linux users, as well as most Mac users (which will probably be using a Geckobased or Opera browser insted of downloading MS bloatware to their Mac).

    Also, what happens if/when AOL switches their 40 million users over to Gecko based browsers instead of IE? (AOL owns Netscape and is no longer bound by a exclusive use IE as engine agreement)?

    Relying on (as opposed to using) proprietary code to present content on the net is really not a good thing in the long run.
    // Stefan Huszics

  6. #6
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    Mark,

    I see from your profile that you reside in these United States and I understand that this is for a business. Businesses in the US have to comply with the Americans With Disabilities Act and in the US the ADA applies to all electronic media (http://www.usdoj.gov/crt/foia/tal712.txt). Just tell your boss that, unless you all start making your intranet acessible to every browser, you can expect some heafty fines.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles