I wanted to lead older browsers to different pages and use browser switch seen below (generated with Golive).
On Mac it works finde on NS 7.72 (-> alt_4/defaulthoeher.html ) and Safari,
works not on IE 5.2 and not on OMNIWEB
On WIN it works on NS 4 (keeps the page), NS 7 (searches for the alternate page alt_4/defaulthoeher.html),
works not on IE 6.
Could look one for the reason, please?
___ bg, Karl
<csbrowser href="alt_4/defaulthoeher.html" ie="0,0,1,1,1,1" ns="0,0,1,1,1,1">
<script type="text/javascript"><!--
var skipPage = true; bAgent = window.navigator.userAgent; bAppName = window.navigator.appName; bMozIdx = bAgent.indexOf("Mozilla/");
if ((bAppName.indexOf("Netscape") >= 0) && (bAgent.indexOf("Mozilla/4") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("MSIE 4") >= 0)) skipPage = false;
if ((bAppName.indexOf("Netscape") >= 0) && (bAgent.indexOf("Netscape5") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("MSIE 5") >= 0)) skipPage = false;
if ((bAppName.indexOf("Netscape") >= 0) && (bAgent.indexOf("Netscape6") >= 0)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("MSIE 6") >= 0)) skipPage = false;
if ((bAppName.indexOf("Netscape") >= 0) && (bMozIdx >= 0) &&
(parseInt(bAgent.substring(bMozIdx+8, bMozIdx+10)) >= 7)) skipPage = false;
if ((bAppName.indexOf("Explorer") >= 0) && (bMozIdx >= 0) &&
(parseInt(bAgent.substring(bMozIdx+8, bMozIdx+10)) >= 7)) skipPage = false;
if (skipPage) { location = /*URL*/'alt_4/defaulthoeher.html'; }
//--></script>
-- Mac Webmasters is sponsored by <http://lowendmac.com/> and...
Small Dog Electronics has Lasso, Filemaker, and FileMaker Server on Sale! High Technology for low prices. http://www.smalldog.com
Support Low End Mac <http://lowendmac.com/lists/support.html>
Mac Webmasters info: <http://lowendmac.com/lists/macweb.shtml> --> AOL users, remove "mailto:" Send list messages to: <mailto:[EMAIL PROTECTED]> To unsubscribe, email: <mailto:[EMAIL PROTECTED]> For digest mode, email: <mailto:[EMAIL PROTECTED]> Subscription questions: <mailto:[EMAIL PROTECTED]> List archive: <http://www.mail-archive.com/mac.webmasters%40mail.maclaunch.com/>
Using a Mac? Free email & more at Applelinks! http://www.applelinks.com
