Log in

View Full Version : Mimic iphone safari Browser in desktop Browser



colink
11-06-2011, 09:44 PM
Hi

Firstly, I am working outside my comfort level here - so forgive me if I miss something important.

I want a page which has a window (presumably an iFrame) which will display a full web page (or at least full width) - ie with no horizontal scroll bar which needs to be moved to see the full width of the page. I want to see the full width of the page (and possibly the whole height - dependng on height of original) as it would be displayed in a mobile device eg iPhone / Android. - ie it will be hard to read.

The following is how far I have got, but it only shows the 'non zoomed' page and scroll bars are used to see the rest of the page.

<iframe width="280" height="480" src="http://ford.com" frameborder="0"></iframe>

I presume i will need javascript ?

I may or may not want a vertical scroll bar - ie if bottom of page is lost, not a problem.

Nice, but not essential would be the ability to zoom in on the page and 'slide' it within the frame, similar to what can be done in a mobile browser.

Any pointers to what is required or where to find suitable answers would be appreciated.

Thanks ColinK


[Moderator's note: because of the term 'iPhone', posts in this conversation may need approval from moderators before they appear because of the settings in our spam-detection software. We will approve posts when we see them, so if your replies take a minute to appear, please be patient.]