X
Tap here to go to the mobile version of the site.

ஆதரவு மன்றம்

my website works in IE but not firefox

  • 2 replies
  • 3 இந்த பிரச்னைகள் உள்ளது
  • Last reply by AndrewLeonard
பதிவிடப்பட்டது

this is my web page: http://www.andrew-leonard.co.uk/Mallorca/mallorca%20ferns.htm

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

This is part of the code for the 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 the 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

this is my web page: http://www.andrew-leonard.co.uk/Mallorca/mallorca%20ferns.htm It usess css to define layers and javascript to show and hide the layers. It uses a dhtml menu system by Milonic to execute the javascript This is part of the code for the layers: <pre><nowiki><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></nowiki></pre> This is part of the javascript to show/hide the layers: <pre><nowiki><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></nowiki></pre> It works OK in IE but not firefox

cor-el மூலமாக திருத்தப்பட்டது

தீர்வு தேர்ந்தெடுக்கப்பட்டது

If you check Firefox's Web Console (Ctrl+Shift+K) it'll tell you any errors it's finding and the line of code it's finding it on. The problem it seems to be having up front is that IDs are case-sensitive - "layer02" is not the same as "Layer02", for example.

There may be further errors once it's past that, but all the current browsers come with the tools you need to weed out any further issues.

Further Javascript reference: https://developer.mozilla.org/en-US/docs/JavaScript

Read this answer in context 0

Additional System Details

நிறுவப்பட்ட நிரல்கள்

  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Shockwave Flash 11.5 r502
  • Nokia Suite Enabler Plugin
  • NVIDIA 3D Vision plugin for Mozilla browsers
  • NVIDIA 3D Vision Streaming plugin for Mozilla browsers
  • Next Generation Java Plug-in 10.9.2 for Mozilla browsers
  • Google Update
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Adobe Shockwave for Director Netscape plug-in, version 11.6.6.636
  • NPWLPG
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.4
  • 5.10.2.0
  • 5.1.10411.0
  • GEPlugin

பயன்பாடு

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0

கூடுதல் தகவல்

Reset Firefox to its default state
If you're having major problems which you can't resolve, start fresh with only your essential information.
Troubleshooting Information
This page contains technical information that might be useful when you're
trying to solve a problem. If you are looking for answers to common questions
about Firefox, check out our support website.
Application Basics
Name
Firefox
Version
16.0.2
User Agent
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Profile Folder
Enabled Plugins
about:plugins
Build Configuration
about:buildconfig
Crash Reports
about:crashes
Memory Use
about:memory
Extensions
Name
Version
Enabled
ID
EPUBReader1.4.2.1true{5384767E-00D9-40E9-B72F-9CC39D655D6F}Nokia Maps 3D browser plugin5.10.2.0truemaps@ovi.comFirefox Synchronisation Extension1.9.46.1090falsesynchronize@nokia.suite
Important Modified Preferences
Name
Value
accessibility.typeaheadfind.flashBar0browser.cache.disk.capacity1048576browser.cache.disk.smart_size.first_runfalsebrowser.cache.disk.smart_size_cached_value1048576browser.display.background_color#C0C0C0browser.display.use_system_colorstruebrowser.places.smartBookmarksVersion4browser.startup.homepagehttps://www.google.co.uk/browser.startup.homepage_override.buildID20121024073032browser.startup.homepage_override.mstone16.0.2extensions.lastAppVersion16.0.2gfx.direct3d.prefer_10_1truenetwork.cookie.prefsMigratedtrueplaces.database.lastMaintenance1353070596places.history.expiration.transient_current_max_pages104858privacy.cpd.cookiesfalseprivacy.cpd.offlineAppstrueprivacy.cpd.siteSettingstrueprivacy.sanitize.migrateFx3Prefstrueprivacy.sanitize.timeSpan0security.warn_viewing_mixedfalse
Graphics
Adapter DescriptionNVIDIA GeForce GT 430Vendor ID0x10deDevice ID0x0de1Adapter RAM1023Adapter Driversnvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2umDriver Version9.18.13.697Driver Date10-2-2012Direct2D EnabledtrueDirectWrite Enabledtrue (6.1.7601.17789)ClearType ParametersClearType parameters not foundWebGL RendererGoogle Inc. -- ANGLE (NVIDIA GeForce GT 430) -- OpenGL ES 2.0 (ANGLE 1.0.0.1041)GPU Accelerated Windows1/1 Direct3D 10
AzureBackenddirect2d
JavaScript
Incremental GC
1
Accessibility
Activated
0
Prevent Accessibility
0
Library Versions
Expected minimum versionVersion in useNSPR4.9.24.9.2NSS3.13.6.0 Basic ECC3.13.6.0 Basic ECCNSS Util3.13.6.03.13.6.0NSS SSL3.13.6.0 Basic ECC3.13.6.0 Basic ECCNSS S/MIME3.13.6.0 Basic ECC3.13.6.0 Basic ECC

optional 19 தீர்வுகள் 64 பதில்கள்
பதிவிடப்பட்டது

தீர்வு தேர்ந்தெடுக்கப்பட்டது

If you check Firefox's Web Console (Ctrl+Shift+K) it'll tell you any errors it's finding and the line of code it's finding it on. The problem it seems to be having up front is that IDs are case-sensitive - "layer02" is not the same as "Layer02", for example.

There may be further errors once it's past that, but all the current browsers come with the tools you need to weed out any further issues.

Further Javascript reference: https://developer.mozilla.org/en-US/docs/JavaScript

If you check Firefox's Web Console (Ctrl+Shift+K) it'll tell you any errors it's finding and the line of code it's finding it on. The problem it seems to be having up front is that IDs are case-sensitive - "layer02" is not the same as "Layer02", for example. There may be further errors once it's past that, but all the current browsers come with the tools you need to weed out any further issues. Further Javascript reference: https://developer.mozilla.org/en-US/docs/JavaScript
பதிவிடப்பட்டது

கேள்வியின் உரிமையாளர்

Thank you that seems to be the problem

Thank you that seems to be the problem