It works well enough on IE 6.  The question is why would you want
something like that on your site; especially before your menu?

Just wondering,
Will Stewart

-----Original Message-----
From: Abigail Marshall [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 23, 2003 4:04 PM
To: [EMAIL PROTECTED]
Subject: [wdvltalk] SSI browser sniffing

On Saturday, August 23, 2003, 5:42:44 AM, rudy commented:

>> What browser are you using? That's caused by an SSI browser
>> sniffer that doesn't work so well -- (sorry - I forgot that I
>> had it in there)

r> windows internet explorer 6 (specifically 6.0.2800.1106 with all
patches)

r> you're right about your browser sniffer not working so well  ;o)

OK, I think I've fixed it (kind of).  At least it seems to
work in IE 5.5 now, maybe you could check it in IE6.:

http://www.dyslexia.com/build/

[I have IE6 running on a separate computer than the IE5.5
one, my laptop - but my laptop has been hijacked by my
daughter and I don't feel like running into her room to get
it.]

What I did was basically really simplify the code, so at
this point the 2-part color changing/font changing form
should show up in IE 4+, Netscape with Gecko (6 + ?), and
Opera - and in anything else, you would only get a single,
smaller "color changing" form. (The new one sets different
styles, using a cookie to retain settings throughout the
site, whereas the old one simply changes background color)

For what it's worth, here's my current browser sniffing
code. What it does is basically give two options, one that
is invoked only with newer CSS compliant browsers.

(I had a really difficult time finding anything like this on
the internet - the one I did find was obviously too complex
and didn't work - so if this passes muster I'll go ahead and
post this somewhere so others can use it).

-Abigail

SSI browser sniffing code;

<!--#if expr="${HTTP_USER_AGENT} = /MSIE [4-9]/" -->
      <!--#set var="isDOM" value="true" -->
<!--#endif -->

<!--#if expr="${HTTP_USER_AGENT} = /Gecko/" -->
                <!--#set var="isDOM" value="true" -->
        <!--#endif -->

<!--#if expr="${HTTP_USER_AGENT} = /Opera/" -->
        <!--#set var="isDOM" value="true" -->
<!--#endif -->

<!--#if expr="(!${isDOM})" -->
        <!--#set var="isHTM3" value="true" -->
<!--#endif -->

<!--#if expr="${isHTM3}" -->
<!--#include virtual="/ssi/colorform.html" --> 
 
 <!--#elif expr="${isDOM}" -->
           <!--#include virtual="/ssi/changecolor.html" -->
           <!--#include virtual="/ssi/changefont.html" -->
<!--#endif -->
<!--#endif -->

<!--#if expr="(!${isDOM})" -->
        <!--#set var="isHTM3" value="true" -->
<!--#endif -->

<!--#if expr="${isHTM3}" -->
<!--#include virtual="/ssi/colorform.html" --> 
 
 <!--#elif expr="${isDOM}" -->
<!--#include virtual="/ssi/changecolor.html" -->
<!--#include virtual="/ssi/changefont.html" -->

        <!--#endif -->
<!--#endif -->


____ . The WDVL Discussion List from WDVL.COM . ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with
the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%



____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to