473,387 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Dropdown menus in FireFox

Tom
I have taken over admin of a web site (I'm not a web developer by
trade) and the drop down menus are inoperative. There is Javascript
that was written about 6 or 7 years ago
that have some conditions pertaining to the browser in use but I'm not
sure
how to fit Mozilla into the equation. The menus do work in IE 6/7. I
have
not tested other browsers.

The site is www.omegaministry.org. You can view the source code from
the
home page (index.html).

Thanks in advance for any assistance...

Tom

Jan 25 '07 #1
2 1221
Tom said the following on 1/25/2007 5:12 PM:
I have taken over admin of a web site (I'm not a web developer by
trade) and the drop down menus are inoperative. There is Javascript
that was written about 6 or 7 years ago
that have some conditions pertaining to the browser in use but I'm not
sure
how to fit Mozilla into the equation. The menus do work in IE 6/7. I
have
not tested other browsers.

The site is www.omegaministry.org. You can view the source code from
the
home page (index.html).

Thanks in advance for any assistance...
Your problem originates here:

//simple browser check

f7_v4=(parseInt(navigator.appVersion)>=4 &&
parseInt(navigator.appVersion)<=5)?1:0

f7_ie=(document.all && f7_v4)?1:0

f7_ns=(document.layers && f7_v4)?1:0

Try to find a better navigation script and ditch that one.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jan 25 '07 #2
Tom wrote :
I have taken over admin of a web site (I'm not a web developer by
trade) and the drop down menus are inoperative. There is Javascript
that was written about 6 or 7 years ago
that have some conditions pertaining to the browser in use but I'm not
sure
how to fit Mozilla into the equation.

Visit this webpage:

Using Web Standards in your Web Pages (Updated Dec. 2006)
http://developer.mozilla.org/en/docs...your_Web_Pages

# 4 Developing Cross Browser/Cross Platform Pages

* 4.1 Browser identification approach (aka "browser sniffing"): not
best, not reliable approach
* 4.2 Using Object/Feature support detection approach: best and
overall most reliable

Gérard
--
remove blah to email me
Jan 25 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Andrea Bampi | last post by:
I'm just trying to do my first experiments with js, but I need some good examples to start with.. I need to design a dynamic form with two dropdown menus picking their select values from a db: my...
19
by: chart43 | last post by:
I have question about the technique for css dropdown menus described in http://www.alistapart.com/articles/horizdropdowns/. Based on an html list, it has a few items in a 1st order list and further...
32
by: Continental Translations | last post by:
Can anybody help me? I am trying to create two drop down menus, where the results of the second one vary depending on what was selected in the first one. I am using MS Script Editor in MS Front...
1
by: cheng | last post by:
can anyone give me java codes for dropdown menus for website.....
10
by: goresus | last post by:
Hello there, I am trying to create two dropdown menus in one of my forms so that they behave in the following way: the first menu consists of "categories" of items, which I hard coded into the...
4
by: Mark | last post by:
I have developed a generic list-based css menu. It works both in IE7 and Firefox, and with the help of Peter Nederlof's csshover.htc, with older IE versions. I have included a simplified version...
4
torquehero
by: torquehero | last post by:
Hi all :) I have created a horizontal navbar using Xara Menumaker. The Menu items have several dropdown menus. Its a javascript. When the mouse cursor is moved over any menu item, a dropdown...
9
by: paintedjazz | last post by:
Okay, based on what I had seen others do, I modified their stylesheet and created a test webpage of a pure CSS dropdown menu. When I got it perfected exactly the way I wanted it, I moved it into...
3
by: angelinahmaleka | last post by:
Hi, I have just joined the forum and I need help with Javascrip dropdown menus. I have written a function which should change the background image of a button when it is clicked: function...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.