• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Firefox / IE compatibility issue with menu

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have a problem where a certain menu doesn't get loaded in Firefox, while it is loaded in IE.

If you click on one of the links on the left part of the page at www.beroepenbeeldbank.nl the menu will appear for a very short time and then disappear again in FF, while in IE it stays there like it should.

I used Chrome's Javascript debugger to review the issue and it says two things:

Uncaught ReferenceError: Window is not defined - stylemorpher.js:13

I can't find a reference to Window on line 13 however.

Would you know why this is happening in Firefox?

Thanks in advance, Ruben


 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use firebug and set a break point on your function that is being called. You can step through it and add watches. Are you canceling the click event?

Eric
 
Ruben Matthews
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eric. I got Firebug, but I don't know how to set these breakpoint in the included Javascript. I usually just use "alert" boxes to show me variable values.

From what I understand is that the content of the left frame is set by


in general.js. The value of 'frame' is 'left_frame' and the value of 'page' depends on the link that was clicked. This is all OK. I just don't understand why the 'page' disappears from the 'left_frame' in Firefox.
 
Remember to always leap before you look. But always take the time to smell the tiny ads:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic