开发者

How to make a aspx website compatitble with mobile

开发者 https://www.devze.com 2023-03-28 09:19 出处:网络
I have created a Login webpage in asp.net with oracle as back end. Its kind of portal thing. When I am loading the web page in laptop browser its completely fine.

I have created a Login webpage in asp.net with oracle as back end. Its kind of portal thing.

When I am loading the web page in laptop browser its completely fine. When I am loading the web page in mobile browser its loading as normal with no problems.

But I want to load the page with a customized view when browsed in iPhone/mobile . Can anyone give me idea how to do it please?

Example: when facebbook.com loads in开发者_开发技巧 iphone it uses the same databse but completely different view than in desktop.

Thank you


The best way I find to do this is to add a separate mobile site (e.g. m.domain.com), and have mobile browsers redirect to this.

For adding a seperate mobile site, this guide seems to explain it very well.

0

精彩评论

暂无评论...
验证码 换一张
取 消