GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   anyone know of a script that can... (https://gfy.com/showthread.php?t=144726)

Va2k 06-18-2003 07:39 PM

anyone know of a script that can...
 
check real quick to see if the user is using 800/600 screen width or 1024/768 and if they are using say 800/600 it directs them to the 800/600 index. page and so on?

TOM

Va2k 06-18-2003 07:46 PM

:helpme

jimmyf 06-18-2003 07:52 PM

I was just at a java page the other day had this.
Don't think you can post them here though.. word java is banned I think

MattO 06-18-2003 07:55 PM

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 06-18-2003 07:57 PM

shit it's impossible to post it correctly here, but you get the idea with the getWallpaper() thing you should be able to do something with that I guess

Va2k 06-18-2003 07:58 PM

thanks guys :)

MattO 06-18-2003 08:05 PM

Durrr... I ain't thinking clear tonight but I guess the whole thing is detected through screen.height & screen.width
I never do much Java stuff & it shows

Ketadream 06-18-2003 09:35 PM

You can also do a browser and screen size check with SSI
check over on webmonkey..

foe 06-18-2003 09:36 PM

what language do you want it on?

hyper 06-18-2003 10:06 PM

http://www.echoecho.com/toolscreenre...onredirect.htm


All times are GMT -7. The time now is 09:36 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123