Spyderix,
That is a bad way to go about it!! You are saying that if the user is not using IE then dont show it, what about all the other browsers out there?
lmarshall,
If you want to use the server side browser check then you have 2 options, either conditionaly include the flash or redirect to a new page based on the browser.
To redirect the page, you can use the following:
<!--#if expr="${HTTP_USER_AGENT} = /MSIE/" -->
<meta HTTP-EQUIV="refresh"
CONTENT="0; URL=flash.html">
<!--#set var="bver" value="IE" -->
<!--#elif expr="${HTTP_USER_AGENT} = /Mozilla/ && $bver !=/IE/" -->
<meta HTTP-EQUIV="refresh"
CONTENT="0; URL=noflash.html">
<!--#else -->
<meta HTTP-EQUIV="refresh"
CONTENT="0; URL=flash.html">
<!--#endif -->
Or to conditionally include the items, use the following:
<!--#if expr="${HTTP_USER_AGENT} = /MSIE/" -->
FLASH CONTENT HERE
<!--#set var="bver" value="IE" -->
<!--#elif expr="${HTTP_USER_AGENT} = /Mozilla/ && $bver !=/IE/" -->
NON FLASH CONTENT HERE
<!--#else -->
FLASH CONTENT HERE
<!--#endif -->
The reason that this requires 2 Flash sections is to cater for any browser that is not either IE or NS. There are other ways to go about this but this is by far the safest as it caters for all browsers and does not rely on any browser setting.
Hope this helps Wullie
sales@freshlookdesign.co.uk