View Full Version : i want to single out the firefox mac version...
winterdude
04-27-2006, 08:01 PM
Hi, I was wondering if you guys had a code that would single out the Firefox browser on
Mac. my website doesn't display properly and I need to redirect my users to a another
page. Any help would be great...thanks!
_Aerospace_Eng_
04-27-2006, 08:05 PM
Does it even display properly in the PC FF version? Good chance that if you site doesn't display correctly then your coding is bad. Got a link?
winterdude
04-27-2006, 08:07 PM
http://symphoniasearch.tripod.com/
its probably bad coding :) because i'm new to this
but the page works in IE for Mac, Safari, and Netscape 7.2
_Aerospace_Eng_
04-27-2006, 08:13 PM
Oh yeah its bad coding alright. You can start here (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fsymphoniasearch.tripod.com%2F) though that won't help much as tripod is adding a lot of their own stuff. I recommend freewebs (http://www.freewebs.com). They don't add ads to your page. They just require that you link back to their site.
winterdude
04-27-2006, 08:16 PM
ok thanks, freewebs gets low bandwith but I guess i'll learn to live with it.
winterdude
04-27-2006, 08:24 PM
hi, ya nevermind what i said before, can i have a code :D , i don't get html and i dont have the time to learn it properly, because 188 errors on the validator is too much!! :eek:
_Aerospace_Eng_
04-27-2006, 08:45 PM
Then what makes you think you will even "get" javascript? If you aren't willing to do the work then why are you even doing web design in the first place?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/javascript">
var detect = navigator.userAgent.toLowerCase();
var OS,browser,thestring;
if (checkIt('firefox') && checkIt('mac'))
{
window.location = "http://www.yoursite.com/someotherpage.html";
}
function checkIt(string)
{
place = detect.indexOf(string) + 1;
thestring = string;
return place;
}
</script>
</head>
<body>
</body>
</html>
winterdude
04-27-2006, 08:59 PM
i guess your right, either learn it right, or don't learn it at all....i guess i'll learn it right, so i don't have to keep nagging you for things :P
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.