View Single Post
Old 01-13-2007, 12:38 PM   #2 (permalink)
netridge
Webmaster Widget Admin
 
netridge's Avatar
 
Join Date: Jul 2006
Location: California
Posts: 551
Default Re: Plz help to solve my js problem

TIA

Just change the address in index640x480.html, to the html file you want to link to or in this case redirect to. You might want to specify the whole path. for example = www.yourwebsite.com/index640x480.html

hope this helps

// file to load if resolution is 640x480:
var if640x480 ="index640x480.html";

// file to load if resolution is 800x600:
var if800x600="index_800x600.html";

// file to load if resolution is 1024x768:
var if1024x768="index_1024x768.html";

// file to load if resolution is 1152x864:
var if1152x864="index_1152x864.html";

// file to load if resolution is 1280x720:
var if1280x1024="index_1152x864.html";

// file to load if resolution is greater than 1280x720:
var Redirect ="http://www.google.co.uk";
__________________
Webmaster Widget | Revenue Sharing Forum
netridge is offline   Reply With Quote
Sponsored Links