Skip to content

Instantly share code, notes, and snippets.

View boydlee's full-sized avatar

Boydlee Pollentine boydlee

View GitHub Profile
@boydlee
boydlee / gist:3169019
Created July 24, 2012 09:14
Titanium Europe Meetup Form
<form action="http://pollypolish.createsend.com/t/j/s/jjyhut/" method="post" id="subForm">
<div>
<p><label for="name" style="width: 150px; clear: both;">Name:</label><br /><input type="text" name="cm-name" id="name" style="border: 1px solid #959183; padding: 4px; width: 300px; margin-bottom: 10px;" /></p>
<p><label for="jjyhut-jjyhut" style="width: 150px; clear: both;">Email:</label><br /><input type="text" name="cm-jjyhut-jjyhut" id="jjyhut-jjyhut" style="border: 1px solid #959183; padding: 4px; width: 300px; margin-bottom: 10px;" /></p>
<p><label for="Titanium Proficiency">Titanium Proficiency:</label><br /><select name="cm-fo-pbdk">
<option value="259080">Beginner</option>
<option value="259081">Intermediate</option>
<option value="259082">Expert</option>
@boydlee
boydlee / gist:3122961
Created July 16, 2012 14:16
youtube video
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');
// create tab group
var tabGroup = Titanium.UI.createTabGroup();
//
// create base UI tab and root window
//
map_stops.setLocation({
animate : true,
latitude:((parseFloat(maxLat) + parseFloat(minLat))/2 ) ,
longitude: ((parseFloat(maxLong) +parseFloat(minLong))/2 - (lgDiff - delta / 2)),
latitudeDelta:delta,
longitudeDelta:delta,
});
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');
//
// create base UI tab and root window
//
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#000'