View Single Post
Old 10-08-05, 10:29 PM   #4 (permalink)
yannickevenas
Aximsite Prospect
 
yannickevenas's Avatar
DAP Rookie
 
Join Date: Sep 2005
Location: Gloucester, VA
Posts: 7
Thanked 0 Times in 0 Posts
What I did on job's web site, was to create pages specially for the PDA version.
I created a folder on the root site called PDA, and I created as many pages as I had on the regular web site. For the index.htm I named it pda.htm, for contacts.htm I named it pdacontacts.htm etc...
Than I copied and pasted the content in the pda pages, resizing the fonts, resampling the pictures...
On the main page of the regular site, I copied this in the head:
<SCRIPT LANGUAGE = "JavaScript">
var isCE = navigator.appVersion.indexOf("Windows CE")>0;
if (isCE)
{
window.location.href="pda/pda.htm";
}
</script>
If you want to take a look at the site here is the link: www.hope-tfc.org
The page for the PDA is www.hope-tfc.org/pda/pda.htm
If you use a PDA (that does not have the internet explorer registry tweak to internet explorer 5), you will be redirected to the page made for the pda.
I hope it helps.
yannickevenas is offline   Reply With Quote