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
// some styling on the "sports" button | |
buttonSports.backgroundColor = UIColor(red: 0.5, green: 0.5, blue: 0.5, alpha: 0.5) | |
buttonSports.layer.cornerRadius = 10 | |
buttonSports.layer.borderWidth = 2 | |
buttonSports.layer.borderColor = UIColor( red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0 ).CGColor |
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
@IBAction func unwindFromView(segue: UIStoryboardSegue) { | |
// note that data can be passed with an unwind action | |
} |
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
// from this... | |
$("#newsContainer").rss( | |
"https://news.google.com/news/feeds?q=%22horizon+media%22&safe=off&bav=on.2,or.r_cp.r_qf.&bvm=bv.50165853,d.dmg,pv.xjs.s.en_US.seW1cfrvSKg.O&biw=1440&bih=735&um=1&ie=UTF-8&output=rss", { | |
limit: 4, | |
entryTemplate: '<li onmouseover="hover(this)"><a href="{url}" target="_blank">{title}</a><br><span class="newsDate">{date}</span></li>' | |
}); | |
}); | |
// to this... |
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
...world! |
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
/* Home Button */ | |
nav li.home { | |
width:115px; | |
height:60px; | |
} | |
nav li.home a{ | |
background-position:-5px -5px; | |
} | |
nav li.home a:hover{ |
NewerOlder