Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: How to make my site WAP compatible ?

__/ [ cordial_camaraderie ] on Thursday 30 March 2006 08:32 \__

> Thanks...
> 
> I have a html Page..
> Can this be done through javascript ot htaccess file ?
> 
> Thanks
> datenrettung software - http://www.stellar-info.de


Agent sniffing is_very strongly_ discouraged (I wrote about it yesterday
http://schestowitz.com/Weblog/archives/2006/03/29/browser-racism/ ), but
regardless, as it may be besign for mobile computing:

<body onload="load()">

In header:


<script type="text/javascript">

function load()
{
  bname=navigator.appName
  if (bname.indexOf("Netscape")!=-1)
       {
        window.location="NSversion.htm"
        return;
       }
  if (bname.indexOf("Microsoft")!=-1)
       {
       }

 and so on...

}
</style>

Also see: http://www.safalra.com/special/googlegroupsreply/

Hope it helps,

Roy

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index