Skip to content

Instantly share code, notes, and snippets.

Created February 15, 2012 21:13
Show Gist options
  • Save anonymous/1839039 to your computer and use it in GitHub Desktop.
Save anonymous/1839039 to your computer and use it in GitHub Desktop.
skin: function (skinUrl, bgColor, contentWrapColor) {
var style = 'url(' + skinUrl + ') top center no-repeat ';
if (bgColor) {
bgStyle += bgColor;
}
$('over_skin').setStyle("background", bgStyle);
if (contentWrapColor) {
$('content-wrap').setStyle("background", contentWrapColor);
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment