I have a site nearly complete but the client cannot view the menu on it. I do not have a PDA so advice would be appreciated. They use Windows mobile 6 pro Using telstra
Also the banner is not done as yet so ignore the banner as it is not finalized and they designed the banner and like it
http://multihulls.net.au
Any help would be appreciated.
PDA issues
-
- Forum Members
- Posts: 108
- Joined: Fri Nov 23, 2007 1:11 am
- Location: Western Victoria Australia
Re: PDA issues
WM6 breaks the rules, it uses both the screen and mobile stylesheets so the PDA Simulator is wrong
Re: PDA issues
You could check the user agent and set special styles for this. There's a stylesheet switcher in forge ...
-
- Forum Members
- Posts: 108
- Joined: Fri Nov 23, 2007 1:11 am
- Location: Western Victoria Australia
Re: PDA issues
Can you explain further on the steps required as I am sure others will strike the same issues along the way
Re: PDA issues
The user agent for Windows mobile 6 is something like this
So you have only to check this string if it contains IEMobile. Insert the following code instead {stylesheet}
http://blogs.msdn.com/iemobile/archive/ ... obile.aspxMozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile m.n)
So you have only to check this string if it contains IEMobile. Insert the following code instead {stylesheet}
Code: Select all
{if eregi("IEMobile",$smarty.server.HTTP_USER_AGENT)}
{stylesheet name='name_of_your_special_CSS_for_IEMobile'}
{else}
{stylesheet}
{/if}
-
- Forum Members
- Posts: 108
- Joined: Fri Nov 23, 2007 1:11 am
- Location: Western Victoria Australia
Re: PDA issues
A bit more info on where to insert exactly would be good.
What and where?
What and where?
Last edited by midway31 on Fri Jul 25, 2008 10:01 am, edited 1 time in total.
-
- Forum Members
- Posts: 108
- Joined: Fri Nov 23, 2007 1:11 am
- Location: Western Victoria Australia
Re: PDA issues
Urgent