diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-06-16 06:24:29 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-06-16 06:24:29 +0000 |
commit | 93205cac099e143b7e5dd22a17f6eda6a82d49cf (patch) | |
tree | cdd176064a1a616a3b111ba42ca7ac8960189b03 /js/farbtastic | |
parent | c3c30aa0eafd42cf6544cb32614ffe164bfd9ca2 (diff) |
Connects html, body and content, navigation background colors
Diffstat (limited to 'js/farbtastic')
-rw-r--r-- | js/farbtastic/farbtastic.go.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/farbtastic/farbtastic.go.js b/js/farbtastic/farbtastic.go.js index 2f202ced1..9bf740825 100644 --- a/js/farbtastic/farbtastic.go.js +++ b/js/farbtastic/farbtastic.go.js @@ -11,10 +11,10 @@ $(document).ready(function() { C = $(S).val(); switch (parseInt(S.id.slice(-1))) { case 1: default: - $('body').css({'background-color':C}); + $('html, body').css({'background-color':C}); break; case 2: - $('#content').css({'background-color':C}); + $('#content, #site_nav_local_views .current a').css({'background-color':C}); break; case 3: $('#aside_primary').css({'background-color':C}); |