plugins/enaniumbg/enaniumbg.js
changeset 1 b69d36dc637e
parent 0 e8db3e017691
--- a/plugins/enaniumbg/enaniumbg.js	Fri Apr 17 00:02:18 2009 -0400
+++ b/plugins/enaniumbg/enaniumbg.js	Sun May 10 12:53:22 2009 -0400
@@ -11,16 +11,16 @@
     body.style.backgroundImage = 'url(' + cdnPath + '/themes/enanium/images/background.gif)';
     body.style.backgroundRepeat = 'repeat';
     body.style.backgroundAttachment = 'scroll';
-    cw.style.backgroundImage = null;
+    cw.style.backgroundImage = 'none';
     cw.style.backgroundColor = '#ffffff';
   }
   else
   {
-    body.style.backgroundRepeat = 'no-repeat';
-    body.style.backgroundPosition = 'center top';
+    body.style.backgroundRepeat = enanium_bg_repeat;
+    body.style.backgroundAttachment = enanium_bg_attachment;
+    body.style.backgroundPosition = enanium_bg_position;
     body.style.backgroundColor = '#000000';
     body.style.backgroundImage = 'url(' + scriptPath + '/plugins/enaniumbg/' + image + '.jpg)';
-    body.style.backgroundAttachment = 'fixed';
     cw.style.backgroundImage = 'url(' + scriptPath + '/plugins/enaniumbg/transw70.png)';
     cw.style.backgroundColor = 'transparent';
   }