Created
January 30, 2015 16:42
-
-
Save ioptics/4962287471afcdf5eab8 to your computer and use it in GitHub Desktop.
Background image test
This file contains hidden or 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
<script type="text/javascript"> | |
var header_path = '//s.wldcdn.net/media/cougardate/header'; | |
if (WLD && WLD.Member) { | |
document.write( | |
'<img src="//s.wldcdn.net/media/cougardate/' + (WLD.Member.split == 'odd' ? 'header' :'header1') + '.png" style="display: block;">' | |
+ '<style type="text/css">' | |
+ 'body{background:url(//s.wldcdn.net/media/cougardate/' + (WLD.Member.split == 'odd' ? 'old-bg.png' :'main-bg1.jpg') + ')}' | |
+ '</style>' | |
); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment