![]() |
mobile redirect scripts Hi, I would like to know how to test a mobile redirect script. I've put one in a main website and I can't go to the mobile website using an iphone simulator. I've use mobiliser software without success. The redirect script use javascript Any help? Thanks |
Re: mobile redirect scripts Hi Pierre, I am thinking your redirect script is using screen size detection if this is the case mobilizer will not pass the proper screen size to your script, instead am thinking your script is picking up your actual desktop screen size. If you are using screen size detection change the width to be more than your desktop resolution whilst testing with mobilizer Best way to test is on an actual real handset - if you don't have access to one try perfecto mobile.com Hope that helps Jay |
Re: mobile redirect scripts If you don´t have a mobile phone on hand just install Ref Agent Switcher Addon for Firefox. Almost any mobile redirection script checks for the browser agent so this should do the job. |
Re: mobile redirect scripts Quote:
|
Re: mobile redirect scripts Quote:
Can you let me know what are you doing in detail with the code so that i can help you. Might me there something wrong in your code i guess. |
Re: mobile redirect scripts Yes, Jay is correct. Screen size detection will not work on an emulator. The same way a flash website will show fine on an emulator but not an iPhone. The emulator is using your computers resources. |
Re: mobile redirect scripts Quote:
John |
Re: mobile redirect scripts I've been using this https://github.com/sebarmeli/JS-Redirection-Mobile-Site for my 3 sites and they work just fine. What iphone simulator are you using? Use their DOM inspector. |
| All times are GMT -6. The time now is 04:15 PM. |