Skip to content

Instantly share code, notes, and snippets.

View MorningZ's full-sized avatar

Stephen MorningZ

  • Central Florida
View GitHub Profile
@dawsontoth
dawsontoth / app.js
Created March 14, 2011 18:23
Sample tab group with an omnipresent bar at the top
/**
* Create a "container" window. This will house all of our high level UI elements
*/
var container = Ti.UI.createWindow({
backgroundColor: 'yellow'
});
/**
* Add some stuff to the top of the container. This will be visible everywhere in the app
*/
@cowboy
cowboy / jquery.ba-focus.js
Created June 23, 2010 14:47
:focus - get the currently focused element
// Public domain, really.
jQuery.expr[':'].focus = function( elem ) {
return elem === document.activeElement && ( elem.type || elem.href );
};