Connecting Tech Pros Worldwide Help | Site Map

Dropdown menus in FireFox

 
LinkBack Thread Tools Search this Thread
  #1  
Old January 25th, 2007, 09:25 PM
Tom
Guest
 
Posts: n/a
Default Dropdown menus in FireFox

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


  #2  
Old January 25th, 2007, 09:35 PM
Randy Webb
Guest
 
Posts: n/a
Default Re: Dropdown menus in FireFox

Tom said the following on 1/25/2007 5:12 PM:
Quote:
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/
  #3  
Old January 25th, 2007, 10:45 PM
=?ISO-8859-1?Q?G=E9rard_Talbot?=
Guest
 
Posts: n/a
Default Re: Dropdown menus in FireFox

Tom wrote :
Quote:
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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.