Jay I use this browser sniffer to check for the browser and redirect the
user to the appropriate page:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function CheckBrowser() {
var name = navigator.appName
if (name == "Microsoft Internet Explorer")
url=("whereEver/index.htm");
else
url=("Whatever/index.htm")
window.location=url;
}
// End -->
</SCRIPT>
Then I put in an onload statement like this:
<body bgcolor="#000000" onLoad="CheckBrowser()">
works reliably
hth,
larry
--
Larry C. Lyons
ColdFusion/Web Developer
EBStor.com
8870 Rixlew Lane, Suite 201
Manassas, Virginia 20109-3795
tel: (703) 393-7930 x253
fax: (703) 393-2659
http://www.ebstor.com
http://www.pacel.com
email: [EMAIL PROTECTED]
Chaos, panic, and disorder - my work here is done.
--
Jay Patton wrote:
>
> ?
> looking for help on this if anyone can...
> on our new layout for our site we have a menu script that works great with IE but
not w/ ns. i was wondering if their was a way to do a check with cf that would check
which browser was being used and if they were using NS then it would not load the
menu script but if they were using IE then it would. ( does that make sense?) any
ideas?
>
> thanks,
>
> Jay Patton
> Web Pro USA
> 406.549.3337 ext. 203
> 1.888.5WEBPRO
> www.webpro-usa.com
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists