Skip to content

Instantly share code, notes, and snippets.

@gpbmike
Forked from anonymous/gist:1839039
Created February 15, 2012 21:15
Show Gist options
  • Save gpbmike/1839046 to your computer and use it in GitHub Desktop.
Save gpbmike/1839046 to your computer and use it in GitHub Desktop.
skin: function (skinUrl, bgColor, contentWrapColor) {
var bgStyle = 'url(' + skinUrl + ') top center no-repeat ';
$('over_skin').setStyle("background", bgStyle + bgColor);
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