my site works in IE but not firefox

This is my web page:
http://www.Andrew-Leonard.co.UK/Mallorca/Mallorca%20ferns.htm

It usess css to define the layers and javascript to show and hide layers. It uses a system of dhtml menu by Milonic to run javascript code

This is part of the code for layers:

<style type="text/css">
#Layer01 {position: absolute; left: 300px; top: 50px; z-index:1;}
...........
#Layer33 {position: absolute; left: 300px; top: 50px; z-index:33;}
</style>

This is part of the javascript to show/hide layers:

<script>
function showlayer(layer){
var myLayer = document.getElementById(layer).style.display;
if(myLayer=="none"){
document.getElementById(layer).style.display="block";
} else {
document.getElementById(layer).style.display="none";
}
}
</script>

It works OK in IE but not firefox

If you select Web Console of Firefox (Ctrl + Shift + K), it will tell you errors is to find and the line of code that is found on.
The problem, it seems to have at the front is that IDS are case-sensitive: 'layer02' is not the same thing as "Layer02", for example.

There may be errors once again it happened, but all current browsers come with tools that needed to rule out any other problem.

In addition to the Javascript reference: https://developer.mozilla.org/en-US/docs/JavaScript

Tags: Firefox

Similar Questions

  • My SWF.flash files sites work on IE but not firefox, help please?

    I have a portfolio built with flash on my new site which works fine with IE, but not firefox, is there an additional coding I have to add to make it appear in firefox?

    This code should work:

    <object data="/userfiles/flash/FINE ART FLASH.swf" type="application/x-shockwave-flash" height="450" id="FlashID" width="700">
    <param name="allowFullScreen" value="true" />
    <param name="loop" value="false" />
    <param name="play" value="false" />
    <param name="scale" value="exactfit" />
    <param name="movie" value="/userfiles/flash/FINE ART FLASH.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="bgcolor" value="#303030" />
    <param name="allowScriptAccess" value="samedomain" />
    <param name="swfversion" value="9.0.45.0" />
    </object>
  • Spry ToolTip works in IE but not Firefox

    Hello

    I do not understand or cannot know what I did wrong. I created a ToolTip for the manufacture of the last product (diameter of 4 inches (special order) brass water revitalizer) on page: http://www.alivewater.net/order.htm

    It works in IE but not Firefox... I can't understand why... can you help me and see what I did wrong?

    Eternally grateful,

    Starry

    The biggest problem I see with the page is that there is no defined document type.  This means browsers have to guess what validation to use to guess what effects should arrive.  If you click on edit->-> category title/encoding Page Properties, you must define the Document Type (DTD).  I.e. once set DW will define the type of document for you.  You can then save and re-upload your document and we can see if the same problem persists.

  • Chronology of the DW works in IE but not Firefox

    I need help to find out why my calendar I created in Dreamweaver CS3 works in Internet Explorer, but not in Firefox. I created a second animation intro 4 on a layer and then after that the intro has finished playing, the layer would hide and seems so the rest of the page.

    The url is http://www.neartscouncil.org/

    Any help would be greatly appreciated on why it does not work in Firefox.
    Thank you!

    I thought about it, thanks for the suggestions!

  • Toolbar EPSON E - Web Print works with IE but not Firefox 28 on Windows 8 PC

    Seems like the toolbar Epson E - Web Print stopped working after the update for Firefox 27. Switched to Internet Explorer and the toolbar works very well.

    Well, when they say they can't, they mean that they do not meet up-to-date with changes to the browser. I do not know changes for Firefox causing the extension no longer works. Maybe other users Epson who encounter the same problem will come up with a solution?

  • Site works on Mobile but not office

    Hello

    First try to Muse on a Basic 5 page site. Just completed, launched, and some users are unable to view this site on the desktop, but they can see on Mobile.

    Any ideas?

    Thank you!

    Sebastian

    Site hosted by Godaddy, there is no other page layouts and looks and works very well that it is tested on iOS/desktop Chrome and FF. Are you able to reproduce the problem somehow? You have recently made any changes to DNS at the level of the office which could be brought to becomnig site temporarily inaccessible for specific users. What is the error they receive to try to access the site via the Office? They tried a different network connection, probably the reason why it worked when accessed through their phones.

    Thank you

    Vinayak

  • Videos work in Chrome, but not Firefox or IE

    Hello

    I created a site of Muse, where I joined mp4 videos that work very well in Chrome (Mac), but do not work when tested on Firefox or IE (PC). My goal is that these videos are accessible by a variety of different users of a versatility of good browser. It is currently integrated in an iframe. Is there a better way to integrate video to ensure he plays on all browsers?

    Thank you!

    Rachel

    You can also try the following: -.

    1 import the video to the current tab

    Go to file > add files to download and select the file you want to import. This will copy the file into the active tab by muse.

    2. Insert the HTML code:


      

  • Acrobat works on IE but not Firefox

    Click document on the web and it does not appera - nothing happens. In Internet Explorer, no problem.

    Tried to "" subject: plugins "and found Adobe PDF Plugin for Firefox" 15.8.20082
    I think it's VERY RECENT PROBLEM

    You might already have checked this, but just in case...

    When you install Firefox, it is by default to display PDF files in an internal viewer. If you haven't already done so, you need to change only on the Options on the page by following the steps in this article: How to disable the built-in PDF Viewer and use another Viewer. (Note: it is important to filter using using the PDF and do not looking for Adobe.)

    If you have made this change before, try to choose a different option like opening in Adobe Reader (outside Firefox) and test this. If it works, then try to change it again using the Adobe Acrobat (in Firefox) plugin.

    Any improvement?

  • Why can I receive my bank details on a Web site on Internet Explorer, but not FireFox

    I can access my bb & t bank account on Internet Explorer but when I try to enter the site even on FireFox the following message is displayed:

    Service not available

    The server is temporarily unable to process your request.

    Explanation

    The server is unable to process a request because a required resource is not available.

    Solution

    Please try again later.

    You can try it on 10 of Firefox?

  • Skype click to call works in Chrome, but not Firefox

    Skype 7.7.103, C2C, v 7.4.9058, FF v v40
    This question was asked enough now for a response to available. Time to dump FF and go to Chrome?

    What problems are you having with the Skype extension?

    Just to go through the usual:

    (1) does show on the addons page and can it be activated? You can open it only by using either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then check the list on the right. Extensions disabled down cluster.

    Note: It is normal in 40 of Firefox to display a message that the extension is not checked.

    (2) must its button be added to the toolbar? You can use the Customize tab to detect if it is not in the expected location. See: Customize Firefox commands, buttons, and toolbars.

    Are there other issues? I do not use this extension myself.

  • Google maps view walk-in work in Safari but not Firefox 3.6.8

    I lost the ability to see views in Google Maps, probably in the last two months and suspect that Firefox.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).

    See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problems

  • I have a code that works in Chrome, Opera, IE and Safari but not Firefox. I was not able to register for my question in a forum. Help, please.

    I created a banner scroll of the LCD to Textspace.net and copied the code they provide for my Web site. The code works in Opera 12.16, Safari IE 11 and Google Chrome 31.0 but not Firefox 26.0 5.1.7. Operating system is Windows 7. Here is the generated code of TextSpace:

          <object width="400" height="56">
             <param name="movie" value="http://i339.photobucket.com/albums/n463/textspace/lcd/lcd_4.swf" />
             <param name="wmode" value="transparent" />
             <param name="flashvars" value="w=400&h=56&c=1&spd=2&b=1&t=News%21++News%21++News%21" />
             <param name="allowscriptaccess" value="always" />
    
             <embed src="http://i339.photobucket.com/albums/n463/textspace/lcd/lcd_4.swf"
                    type="application/x-shockwave-flash"
                    wmode="transparent"
                    flashvars="w=400&h=56&c=1&spd=2&b=1&t=News%21++News%21++News%21"
                    allowscriptaccess="always"
                    width="400" height="56">
          </object>
    

    Thanks for any help you can provide.

    I don't know if Firefox does not go with the default sending accept header or that the Photobucket site is bad because it does not send the file that is being requested.

    You can try to fill out a bug report on this issue to make it clear.

  • reCAPTCHA works in IE8, but not in Firefox - missing graphics

    reCAPTCHA works in IE8, but not in Firefox

    All the graphics, the challenge, radio buttons and logo do not appear.

    Make sure that you are not blocking JavaScript.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).

    • Makes no changes on the start safe mode window.

    See:

    See also:

  • Safari on my MacBook Pro retina 9.0.3 15-inch Version 10.11.3 do not show images on some Internet sites. They appear for a fraction of a second then disappear with a question mark in the Center. The same sites work fine on Chrome and Firefox.

    Safari on my MacBook Pro retina 9.0.3 15-inch Version 10.11.3 do not show images on some Internet sites. They appear for a fraction of a second then disappear with a question mark in the Center. The same sites work fine on Chrome and Firefox.

    I suggest you only begin by taking the measures recommended in this support article.

  • I see no photos when it is on EBAY. I can see them in Chrome and explore, but not Firefox. It says Image is not available when the image should be.

    When I'm on EBAY (or other sites besides) in the region where there should be pictures, I get a message saying:
    Image not available

    This just started a week or two ago. I am able to see the fine images by using other browsers, but not Firefox. Any suggestions?

    Oh... If it affects all sites, please read this article: solve the problems that cause to not show images.

Maybe you are looking for