Forum Moderators: open
<script>version=parseInt(navigator.appVersion);if (navigator.appVersion.indexOf('5.')>-1){version=5};if (navigator.appVersion.indexOf('6.')>-1){version=6}; if (navigator.appVersion.indexOf('7.')>-1){version=7}; browser='OTHER'; if (navigator.appName=='Netscape'){browser='NS'+version;} if (navigator.appName=='Microsoft Internet Explorer'){browser='MSIE'+version;} if (navigator.appVersion.indexOf('MSIE 3')>0) {browser='MSIE3';} if(browser == 'NS5'){browser='NS6'};if (browser=='MSIE5') {window.location='http://www.computertables.biz/pages/products/options/atsxx.htm'}if (browser=='MSIE6') {window.location='http://www.computertables.biz/pages/products/options/atsxx.htm'}if (browser=='MSIE7') {window.location='http://www.computertables.biz/pages/products/options/atsxx.htm'}</script>
Will that cause problems for google? I've been running it for a couple weeks with no problem but then i noticed a problem so i removed it.. what would be the correct way to accomplish this?
Google does not "process" javascript, and will simply see that code as a collection of links, if at all.
You might want to consider detecting the browser and redirecting at the server level.
It seems to me that the description of your problem has changed. You will get better answers by clearly describing what you want to do, and the constraints you want to place on the solution.
Jim
<script type="text/javascript" language="JavaScript">
to start your scipt instead of just <script>
regards,
Mark
Jim, You mentioned doing a server side redirect, can you point me in the direction of some resources for doing this, or if the javascript isn't going to throw up a black flag i can use that. Thanks for the info guys.
-Sith