Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: FireFox Compatibility Isues
datazen
Newbie

Posts: 1
Registered: 10/22/2005
Member Is Offline
posted on 10/22/2005 at 06:12 PM Reply With Quote
FireFox Compatibility Isues


Why does the positioning and the height of the menu differ when using FireFox Browser? All looks great in IE but in FireFox it doesn't look the same and doesn't line up the same.

Doesn't the Pro version have cross-browser compatibility? Or do I need to upgrade to the Gold version.

Any help is greatly appreciated. All I need now is to get this one problem solved.

Thank you.
View User's Profile View All Posts By User U2U Member
spw
Member

Posts: 44
Registered: 12/8/2005
Location: Australia
Member Is Offline
posted on 1/19/2006 at 11:59 PM Reply With Quote

Cross-browser is always an issue - Tigra does work (ie behave) the same across all browsers (I use Netscape, Firefox, IE and Opera) BUT has no influence on the definition/resolution of what is displayed. Annoying indeed!

Maybe this will help: I recently developed a site which detects browser and directs to the appropriate set of code pages - in fact there are only two main groups to worry about (at least at the monent).

Detection was based on the following:


-------------[ Copy from here]--------------------
<HTML><HEAD><TITLE>Start Page</TITLE>
<SCRIPT LANGUAGE = "JavaScript"><!--
// Based on original script by Iceman, dciceman[at]usa.net Copyright 1997 Iceman.
//This one modified to differentiate between MS IE and the rest

var r
browser = navigator.appName

version="4.0 (compatible; MSIE 4.0b1; Windows 95)"
if (browser == "Microsoft Internet Explorer" && navigator.appVersion==version) {
//If Browser is MSIE 4.0b1 then go to MSIE Page.
parent.location.href="index-ie.html"
r=2
}

else {
ua="Mozilla/2.0 (compatible; MSIE 3.02; Windows 95)"
if (navigator.userAgent==ua){
//If Browser is MSIE 3.02 go to MSIE Page.
parent.location.href="index-ie.html"
r=2
}

version="4.0 (compatible; MSIE 4.0b2; Windows 95)"
if (browser == "Microsoft Internet Explorer" && navigator.appVersion==version) {
//If Browser is MSIE 4.0b2 then go to MSIE Page.
parent.location.href="index-ie.html"
r=2
}

version="2.01 (Win95; I)"
if (navigator.appVersion==version && navigator.appCodeName=="Mozilla") {
//If Browser is Netscape 2.01 go to Netscape page.
parent.location.href="index-ns.html"
r=1
}

version="2.0 (Win95; I; 16bit)"
if (navigator.appVersion==version && navigator.appCodeName=="Mozilla") {
//If Browser is Netscape 2.0 16 bit go to Netscape page.
parent.location.href="index-ns.html"
r=1
}

version="4.01 [en] (Win95; I)"
if (navigator.appVersion==version && navigator.appCodeName=="Mozilla") {
//If Browser is Netscape 4.01 go to Netscape page.
parent.location.href="index-ns.html"
r=1
}

version="3.0 (Win95; I)"
if (browser == "Netscape" && navigator.appVersion==version) {
// If browser is Netscape 3.0 for Win95 go to Netscape Page.
parent.location.href="index-ns.html"
r=1
}
}

if (browser=="Netscape") {
// If browser is Netscape and Supports JavaScript go to Netscape Page
parent.location.href="index-ns.html"
r=1
}

if (browser=="Opera") {
// If browser is Opera and Supports JavaScript go to Opera Page
parent.location.href="index-op.html"
r=1
}

if (r !=1 && r !=2){
// if browser is not Nestcape or MSIE known versions go to IE page.
//(caters for any other JavaScript Browsers).
parent.location.href="index-ie.html"
}

// -->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="000000" TEXT="FFFFFF">
Switching you to next page!<BR><BR>
(If your browser remains on this page for more than 5 seconds it is not JavaScript compatible. Please download a new browser from <A HREF="http://home.netscape.com">Netscape Communications Corp.</A> or <A HREF="http://www.microsoft.com/ie/default.asp">Microsoft Corp.</A>
</BODY>
</HTML>
View User's Profile View All Posts By User U2U Member
LordErikS
Junior Member

Posts: 5
Registered: 7/21/2006
Member Is Offline
posted on 7/26/2006 at 09:30 AM Reply With Quote

I would suggest creating two menu_tpl.js and adding the following lines to every HTML page you call. Then you just have to tweak the settings that you find different. I also do this with my .css for each page.

You create the base for Firefox and then the one under "if IE" for (surprisingly) IE.

<script language="JavaScript" src="script\menu.js"></script>
<script language="JavaScript" src="script\menu_items.js"></script>
<script language="JavaScript" src="script\menu_tpl.js"></script>
<!--[if IE]>
<script language="JavaScript" src="script\menu_tpl_ie.js"></script>
<![endif]-->
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 7/26/2006 at 09:49 AM Reply With Quote

We leave the web developer with freedom to use any CSS properties and HTML code with the menu. Some properties render differently in the different browsers or in different modes and we have no control over it. Just make sure to pick the settings that work the same in all browsers.

One of the most frequently asked browser compatibility related question is about absolutely positioned menu going off-sync with the rest of the content of the page. The menu actually stays at the same coordinates, it's the content of the page that moves because of the different default document margins in different browsers. The problem is solved by specifying the document margins explicitly.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Alignment & Multimenus
Unlimited Depth
Item sizing and positioning
Inner HTML
Frames, Targeting
Static Positioning
Free Download Menu Builders
Online Builder
Product Documentation Documentation
Documenation Page
Tigra Menu PRO FAQ
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004