Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape 6 vs. IE 5

Status
Not open for further replies.

aniroc

Technical User
Feb 4, 2002
9
0
0
US
Created my first Dreamweaver website... thought i had it all lookin' good until i previewed it in NETSCAPE... 4.0 really looked terrible so i downloaded 6.0 and it looks way better however the disjointed image roll overs are not in the intended place (i have them overlaying the background image so it is important where they are positioned). is there a way to 1. detect the users browser and 2. if so, can i somehow "turn off" the disjointed image rollover once NETSCAPE as the user's browser is detected? any other ideas of a workaround?
here is the link:


thanks.
 
There is a way to detect a the type of browser the user is using (even the version). This done in javascript. Are you familiar with javascript? If yes, here the code you need to put (include to detect versions too):

var browserName=navigator.appName;
var browserVer=parseInt(navigator.appVersion);
if ((browserName=="Netscape" && browserVer>=3) || (browserName=="Microsoft Internet Explorer" && browserVer>=4))

(your code)

else

(your code)

if (version=="n3")

(your code)

else

(your code)

If you need more info or want to learn about javascripts go to
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top