
07-09-2007
|
| Senior Member
Join Date: Jun 2007
Posts: 1,399
BRL$: 4,187.66 Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 172 | | Browser detect doesn't work for firefox. Me and about 5 other people are making a Firefox promotion site, I already know there are others so I don't need to be told. I haven't purchased the domain yet but I do have a sponsor site that will buy it for me (photoshopsquad.com). I'm using a free hosting service to test the pages before I do anything with it- To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. This is what I have so far and it works pretty well except the browser detect screws up with Firefox. It says I have Netscape which I don't understand, the code I'm using in a div is- ---Quote--- var browser=navigator.appName document.write("Detecting Browser... " + browser + " ") if (browser!="Mozilla") { document.write("You need to get Firefox!") } ---End Quote--- Apart from the main question when I get it working will it detect the browser as "Firefox", "Mozilla" or "Mozilla Firefox"? I'm also going to want to make the border and background color change but that's a hole different topic. Any help would be appreciated! To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | |