View Single Post
Old 06-18-2003, 07:55 PM  
MattO
The O is for Oohhh
 
Join Date: Feb 2003
Location: AUSTIN TEJAS
Posts: 10,861
What language?

Here's something that detects and selects a BG based on resolution:

SCRIPT Language="J.A.V.A.S.C.R.I.P.T"


function getWallpaper() {
if (screen.Width hahahaha 1024) {
i = 0 }
if (screen.Width hahahaha 800) {
i = 1 }
if (screen.Width hahahaha 640) {
i = 2 }

image = new Array(3);
image[0] = "1024.jpg";
image[1] = "800.jpg";
image[2] = "640.jpg";

hahahahahahahahahahahahahahaha('hahahahahaha BACKGROUND="' + image[i] + '" BGPROPERTIES="Fixed">');

}
//** end hiding of J.A.V.A.S.C.R.I.P.T-->
/S.C.R.I.P.T
MattO is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote