Welcome visitor
* Login
* Register
It is currently September 16th, 2019, 12:19 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  different site versions
PostPosted: June 3rd, 2009, 11:02 pm 

Posts: 31
how can i make a site for ie visitors and another for ff users, but for example, if you enter my site and you are using ie, it will automatically redirect you to the ie version of the site. tia


Top
 Profile  
 
  Re: different site versions
PostPosted: June 3rd, 2009, 11:06 pm 
User avatar

Posts: 79
i think the easiest way is a crossbrowser compatible site. If not, then on your homepage make a menu for ie or ff visitors, if not, then try this:
<head>
    <title></title>
    <script type="text/javascript">
    var bname=navigator.appName;
    function redb(){
    if(bname=="Microsoft Internet Explorer"){window.open('ie_ver.htm','_self');}
    }
    </script>
</head>

<body onload="redb();">
firefox document


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron