9 if ( image == 'default' ) |
9 if ( image == 'default' ) |
10 { |
10 { |
11 body.style.backgroundImage = 'url(' + cdnPath + '/themes/enanium/images/background.gif)'; |
11 body.style.backgroundImage = 'url(' + cdnPath + '/themes/enanium/images/background.gif)'; |
12 body.style.backgroundRepeat = 'repeat'; |
12 body.style.backgroundRepeat = 'repeat'; |
13 body.style.backgroundAttachment = 'scroll'; |
13 body.style.backgroundAttachment = 'scroll'; |
14 cw.style.backgroundImage = null; |
14 cw.style.backgroundImage = 'none'; |
15 cw.style.backgroundColor = '#ffffff'; |
15 cw.style.backgroundColor = '#ffffff'; |
16 } |
16 } |
17 else |
17 else |
18 { |
18 { |
19 body.style.backgroundRepeat = 'no-repeat'; |
19 body.style.backgroundRepeat = enanium_bg_repeat; |
20 body.style.backgroundPosition = 'center top'; |
20 body.style.backgroundAttachment = enanium_bg_attachment; |
|
21 body.style.backgroundPosition = enanium_bg_position; |
21 body.style.backgroundColor = '#000000'; |
22 body.style.backgroundColor = '#000000'; |
22 body.style.backgroundImage = 'url(' + scriptPath + '/plugins/enaniumbg/' + image + '.jpg)'; |
23 body.style.backgroundImage = 'url(' + scriptPath + '/plugins/enaniumbg/' + image + '.jpg)'; |
23 body.style.backgroundAttachment = 'fixed'; |
|
24 cw.style.backgroundImage = 'url(' + scriptPath + '/plugins/enaniumbg/transw70.png)'; |
24 cw.style.backgroundImage = 'url(' + scriptPath + '/plugins/enaniumbg/transw70.png)'; |
25 cw.style.backgroundColor = 'transparent'; |
25 cw.style.backgroundColor = 'transparent'; |
26 } |
26 } |
27 |
27 |
28 var as = getElementsByClassName(document.getElementById('enanium_bg_list'), 'a', 'selected'); |
28 var as = getElementsByClassName(document.getElementById('enanium_bg_list'), 'a', 'selected'); |