summaryrefslogtreecommitdiff
path: root/static/background.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/background.js')
-rwxr-xr-xstatic/background.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/static/background.js b/static/background.js
index 8eed157..edbe5b1 100755
--- a/static/background.js
+++ b/static/background.js
@@ -1,5 +1,3 @@
-
-
var bgImages = ['shaq.gif','background4.gif','background13.gif','wayne.gif','blink.gif','rhianamoney.gif','britglobe2.gif','gaga.gif'];
var bgIndex = -1;
@@ -19,7 +17,7 @@ function getBackground() {
window.onload = function() {
var nAV = navigator.appVersion.toLowerCase();
if (nAV.match(/msie 5/) || nAV.match(/msie 6/)) return false;
- var items = utils.getElementsByClassName('dialog','div');
+ var items = document.getElementsByClassName('dialog','div');
for (var i=0,j=items.length; i<j; i++) {
widgets[widgets.length] = new DialogWidget(items[i],i);
}
@@ -29,5 +27,5 @@ window.onload = function() {
document.body.appendChild(d);
document.getElementById('animation-demo').style.display = 'block';
getBackground();
- window.onresize = handleResize;
+ // window.onresize = handleResize;
} \ No newline at end of file