473,785 Members | 2,476 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1228
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.appV ersion)>=4 &&
parseInt(naviga tor.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.javas cript 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
2553
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 problem is, how can I make the selection in the first menu affect the value list in the second, without using any buttons? I mean, you just have to click on the first menu and select the desired item, then the proper select list is "loaded" into...
19
2864
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 2nd order lists that appear to the right when hovering over items in the 1st order. Anyone figured how to modify to go to n order greater than 2? Bit tricky I found. I could get the other orders but they all appeared when hovering over the 1st...
32
2734
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 Page to do this. In my first menu, I want "English" "German" and "Russian." Now if "English" is picked, I want "French" "German" and "Spanish" to appear. If "German" is picked in the first menu, I want "English" to appear" If Russian is picked...
1
1510
by: cheng | last post by:
can anyone give me java codes for dropdown menus for website.....
10
8052
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 form. i am looking to relate the second menu with the first one such that, as soon as you choose an option from the first menu, the second menu lists only the name of those items that falls in the "category" chosen in the first menu. I have a...
4
8814
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 below. The list goes something like this: <ul class="menu"> <li>Menu 1 <ul> <li>Item 1</li>
4
2347
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 list/menu appears. When the page is opened in the browser (as it appears by default), the dropdown menu positions are correctly displayed. But when I scroll the page and then move the mouse over any menu item of the navbar, the dropdown menu is not...
9
2367
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 my production testing site and voila ... the vertical dropdowns were no longer vertical but, alas, horizontal. I did not add the new stylesheet to my current stylesheet since my original only governs fonts and the new (2nd) stylesheet only...
3
1197
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 change(el) { if (el.style.background='url(arrow-up-title2.jpg)'){ el.style.background='url(arrow-down-title2.jpg)' } if (el.style.background='url(arrow-down-title2.jpg)'){
0
9489
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10162
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10101
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.