Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
| // I was unhappy about there was close to no control over the "pageControl" | |
| // in scrollableViews, so I hacked my own | |
| // ----- | |
| // Configuration | |
| var pageColor = "#c99ed5"; | |
| PagingControl = function(scrollableView){ | |
| var container = Titanium.UI.createView({ | |
| height: 60 |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
| //Public client interface | |
| function Client(applicationId, masterKey) { | |
| this.applicationId = applicationId; | |
| this.masterKey = masterKey; | |
| } | |
| exports.Client = Client; | |
| //Parse API endpoint | |
| var ENDPOINT = 'https://api.parse.com/1/classes/'; |
| var win = Ti.UI.createWindow({backgroundColor:'#ccc'}); | |
| var isRunning = false; | |
| var btn = Ti.UI.createButton({ | |
| title:'start', | |
| bottom:10, | |
| height:50, | |
| left:10, | |
| right:10 | |
| }); | |
| var slider = Ti.UI.createSlider({ |
| /** | |
| * This sample lets you record and share video with Appcelerator Titanium on Android. | |
| * REQUIRES THE 1.6.0 RC OF TITANIUM MOBILE SDK | |
| * http://developer.appcelerator.com/blog/2011/02/release-candidate-for-titanium-mobile-1-6-0.html | |
| */ | |
| /** | |
| * First, create our UI. We'll have two buttons: record, and share. | |
| */ | |
| var win = Titanium.UI.createWindow({ |
| /** ------------------------------------- | |
| * Taco. By Joe Critchley (@joecritchley) | |
| */ | |
| .c { width: 978px; margin: 0 auto; } | |
| .c .c { margin: 0 -20px; width: auto; } | |
| .g1, .g2, .g3, .g4, .g5, .g6, .g7, .g8, .g9, .g10, .g11, .g12 { margin-left: 30px; float: left; display: inline; } | |
| .c .c .g1, .c .c .g2, .c .c .g3, .c .c .g4, .c .c .g5, .c .c .g6, | |
| .c .c .g7, .c .c .g8, .c .c .g9, .c .c .g10, .c .c .g11, .c .c .g12 { margin-left: 10px; } | |
| .g1 { width: 54px; } .c .c .g1 { width: 74px; } |