Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Firefox not recognizing link

Firefox is screwing up or I have screwed up. hmmmmm?

3:03 pm on Nov 5, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 29, 2004
votes: 0

I have a submenu that when you click on it a layer appears making it like a dropdown menu. There are a total of 4 buttons in Firefox the first 3 are not even recognized as a link, but the fourth one is when you click on it the submenu appears.

Here is the HTML for all four menu buttons:

1:<a href="#" onclick="toggleSub('sub_product_mth'); return false" onmouseover="MM_showHideLayers('flyout_math1','','hide','hideflyout_sub','','hide')">
<img src="images/ed_layout/prod_menu_btns/str_menu_math.gif" alt="Math Series" border="0" />

2:<a href="#" onclick="toggleSub('sub_product_hlth'); return false" onmouseover="MM_showHideLayers('flyout_math1','','hide','flyout_math2','','hide','hideflyout_sub','','hide')">
<img src="images/ed_layout/prod_menu_btns/str_menu_hlth.gif" alt="Health Series" border="0" />

3:<a href="#" onclick="toggleSub('sub_product_lang'); return false" onmouseover="MM_showHideLayers('flyout_hlth2','','hide','flyout_hlth3','','hide','hideflyout_sub','','hide')">
<img src="images/ed_layout/prod_menu_btns/str_menu_lang.gif" alt="Language Series" border="0" />

4:<a href="#" onclick="toggleSub('sub_product_test'); return false" onmouseover="MM_showHideLayers('flyout_hlth2','','hide','flyout_hlth3','','hide','flyout_lang2','','hide','hideflyout_sub','','hide')">
<img src="images/ed_layout/prod_menu_btns/str_menu_test.gif" alt="Testing Series" width="173" height="41" border="0" />

And here is the Javascript to toggle submenu on and off:

function toggleSub(submenu) {
if (document.getElementById(submenu).style.display == 'block') {
document.getElementById(submenu).style.display = 'none'
} else {
document.getElementById(submenu).style.display = 'block'

3:32 pm on Nov 5, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 14, 2004
votes: 0

Hmmm... my money's on Firefox being OK.

I think I might be able to help, but I'd need to see more code. Could you send me a link to this in a message? (as posting links is not allowed)