View Single Post
Old 10-14-2012, 04:18 AM  
machinegunkelly
Confirmed User
 
machinegunkelly's Avatar
 
Join Date: Jun 2003
Posts: 3,281
jquery.

easy peasy.

Code:
$(document).ready( function(){

	if ($.browser.webkit) {
		window.location = 'http://www.google.com/';
	}
	
	else if ($.browser.msie) {
		window.location = 'http://www.yahoo.com/';
	}
	
	else if ($.browser.opera) {
		window.location = 'http://www.opera.com/';
	}
	
	else if ($.browser.mozilla) {
		window.location = 'http://www.firefox.com/';
	}

})
etc ...

http://api.jquery.com/jQuery.browser/
__________________
dead.

Last edited by machinegunkelly; 10-14-2012 at 04:28 AM..
machinegunkelly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote