Welcome To Snipplr


Everyone's Recent Snippets Tagged mobile



0 1544 posted 14 years ago by mcorlan
header line loads a new page into the browser
0 2602 posted 14 years ago by amandalaine
0 1486 posted 14 years ago by kbrown
0 1657 posted 14 years ago by tpryan
0 1700 posted 14 years ago by cmndo
It’s pretty straightforward, we loop the existing Views of the ScrollableView and copy each View, replacing the one to be change, to a new array. Then we tell the ScrollableView to use our new Views-array for it’s Views. I hope this helps someon...
0 1567 posted 14 years ago by chlab
We create a View with a background color, put a semi-transparent TabbedBar with empty button names on top of it, then add another layer of fully visible labels spaced to fit the TabbedBar beneath it. Everything is then wrapped in one View, which you...
0 1550 posted 14 years ago by chlab
Use this in the ApplicationModule.js file.
0 1233 posted 15 years ago by garnold
Use in the ApplicationModule.js file.
0 1169 posted 15 years ago by garnold
Use this in the ApplicationModule.js file.
0 1262 posted 15 years ago by garnold
1 1663 posted 15 years ago by jafar
Based upon http://csswizardry.com/2010/01/iphone-css-tips-for-building-iphone-websites/
0 1741 posted 15 years ago by withinmedianl
Determines if splash screen is iPad or iPhone.
0 1551 posted 15 years ago by vagrantradio
Adapted from CakePHP
0 1547 posted 15 years ago by shodan_uk
Hide the url bar on page load in webkit mobile browsers.
0 2668 posted 15 years ago by vagrantradio
0 1265 posted 15 years ago by ubermind
Though an old post, this is my solution that's been pieced together from various comments on the article linked above.
1 2354 posted 15 years ago by beneberle
These are just two css media queries you may want to use for your website development. With lots of smart-phones, and tablets being able to orientate their screens from landscape to portrait, you may want to include different styles for each. This is...
1 1482 posted 15 years ago by paul66
3 3016 posted 15 years ago by ohryan
1 1799 posted 15 years ago by nathansearles
This rewrite covers most mobile devices (with few false positives). When a mobile device is detected it is redirected to /m/.
2 2096 posted 15 years ago by ohryan
1 1526 posted 15 years ago by MrFjords