Showing posts with label mobile-safari. Show all posts
Showing posts with label mobile-safari. Show all posts

Sunday, June 3, 2012

What is the PastryKit Framework?


I'm trying to find any information I can on the PastryKit Javascript Framework. It appears to be in use on the iPhone User Guide that is displayed on the iPhone itself in Mobile Safari, but I cannot find any documentation or API. If you want to see it in action, open Safari 4, set your user agent to iPhone 3 (In the Develop menu) and check out the guide .

Friday, May 18, 2012

Fixed positioning in Mobile Safari


Is it possible to position an element fixed relative to the viewport in Mobile Safari? As many have noted, position: fixed doesn't work, but Gmail just came out with a solution that almost is what I want – see the floating menu bar on the message view.

Monday, May 14, 2012

List of known differences between "Safari on iPad” and "Safari on iPhone”


My website looks perfect on the iPhone but looks sub-optimal on the iPad. I'm having a lot of trouble finding information on the differences between iPad's webkit/safari rendering engine and iPhones' webkit/safari rendering engine.

Sunday, April 8, 2012

Is there any use of favicon.ico for mobile websites?


Is there any use of favicon.ico for mobile websites? will it be shown in browser address bar and tabs in mobile websites

Tuesday, April 3, 2012

Remove textarea inner shadow on Mobile Safari (iPhone)


By default, it seems Mobile Safari adds the top inner shadow to all input fields, including textarea. Is there a way to remove it?

Thursday, March 8, 2012

Force a WebView link to launch Safari?


I have a UIWebView embedded within an iPhone app of mine. I want to be able to have certain links within that webview open into the full Mobile Safari app (i.e. not my embedded version of it).

How to target iPhone 3GS AND iPhone 4 in one @media query


I am trying to implement alternate layouts for both the iPad/iPhone and older iPhones as well.

Thursday, March 1, 2012

How does the iPhone Google image search touch-event functionality work?


When I do a Google image search on my iPhone within the Safari mobile browser, it gives me this beautiful interface for flipping through the images. If I swipe left or right, it browses through the images. If I touch and move up or down, I get what appears to be the native Safari scroll function. Can anyone explain how Google does this? I'm only beginning to learn the Safari API for touch events. It seems like either you capture the touch event to attach handlers to swipe left or right or you let Safari handle the touch events natively, in which case you get the beautiful native Safari scrolling. Can anyone explain how Google captures left/right swipe but not scrolling?

Wednesday, February 8, 2012

Testing various versions of iPhone Safari


I am developing a jquerymobile App, and things are looking good in IOS5 with the most up-to-date version of Safari, I really need to test some older versions of Safari and its Webkit to ensure things are looking good for most browser versions.

Friday, January 20, 2012

What javascript event gets fired when ios safari gets called from another app


I'm working on a mobile website / iPhone app combination. Upon entering the mobile website, I prompt the user to 'go to the app', 'download the app', or 'use mobile website'.