This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
position: relative; | |
font-size: 200px; | |
margin-top: 0; | |
font-family: 'Myriad-Pro', 'Myriad', helvetica, arial, sans-serif; | |
text-shadow: 2px 3px 3px #292929; | |
letter-spacing: -7px; | |
-webkit-text-stroke: 1px white; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.clear { | |
clear: both; | |
display: block; | |
overflow: hidden; | |
visibility: hidden; | |
width: 0; | |
height: 0; | |
} | |
.clearfix:after { | |
clear: both; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1#logo { | |
margin:0; | |
position:absolute; | |
top: 0; | |
} | |
h1#logo a { | |
background:transparent url(../images/logo.jpg) no-repeat scroll 0 0; | |
display:block; | |
width: 284px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
/* CSS */ | |
header, footer, article, section, nav, menu, hgroup { | |
display: block; | |
} | |
</style> | |
<script> | |
// Javascript to make IE recognize the elements | |
document.createElement("article"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svn export --force --username anonymous http://joomlacode.org/svn/joomla/development/releases/1.5 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Label | |
var label = Ti.UI.createLabel({ | |
text: 'Due Date', | |
top: 10, | |
left: 10, | |
height: 30, | |
color: '#333', | |
font: { fontWeight: 'bold', fontSize: 20 }, | |
shadowColor:'#eee', | |
shadowOffset:{x: 0, y: 1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rows = [{text: 'Something here'}]; | |
var row = Titanium.UI.createTableViewRow({ | |
height: '50', | |
backgroundColor: '#eee' | |
}); | |
rows.push(row); | |
// Create the table with populated data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
Colors: { | |
someColor: '#333', | |
otherColor: '#777' | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var searchbar = Ti.UI.createSearchBar({ | |
showCancel: true, | |
barColor: '#7CA122' // This is the default color if no remote source is used / found | |
}); | |
// get the colors.json source | |
Ajax.xhr('GET', '', 'http://localhost/colors.json', function(data) { | |
searchbar.barColor = data.Colors.someColor; // change the searchbar color | |
win.barColor = data.Colors.otherColor; // change the window bar color | |
}); |
OlderNewer