Welcome To Snipplr
Everyone's Recent JavaScript Snippets Tagged iphone
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
If you a flick a web app past the bottom or top of the page, the page itself gets elastically tugged away from the URL bar or the button bar (or the bottom/top of the screen if it's in full-screen mode).
This behavior is another giveaway that your...
0
778
posted 12 years ago by timothypwalter
"Those who create responsive design for iPhone may be aware of the viewport scaling bug in iPhone Safari. The bug occurs when you set the viewport width to device-width and rotate the phone to landscape view."
1
743
posted 13 years ago by ichnoweb
A tiny snippet on how to easily detect iPad/iPhone/iPod using javascript.
1
696
posted 13 years ago by parkarlsson
Also selects different sized header images for better image quality.
1
743
posted 13 years ago by HelloKit
Let's say, perhaps, that you are already forwarding your web traffic through an SSH/SOCKS tunnel at work (for privacy reasons that have absolutely no relation to accessing blocked sites LOL!) and you would like to use that same tunnel on your iPhone/...
1
6855
posted 15 years ago by shaunchapman
Switches body class between .portrait and .landscape for, you guessed it, portrait and landscape mode on the iphone.
0
1077
posted 15 years ago by ira
« Prev 1 Next »