Compartilhar via


Firefox Support: Something to Experiment With

As many of you have pointed out to me, the v2 control does not support firefox as well as the Windows Live Local site does.  There is actually a wedge you can put in place to fix most of these issues, but it is not officially part of the SDK today.

To use the wedge, add the following line to your html as the first line in the body element:

<![if !IE]><script src="https://local.live.com/JS/AtlasCompat.js"></script><![endif]> 

After this is added, your application should start showing properly in FireFox.  Try it out, let me know if it works for you.

Moving forward, we will build this support into the control.

THE DISCLAIMER:  As I said above, it is not officially part of the SDK and is unsupported (but still send me bugs you find! as we will try to fix them).  When we release our next version we may break your application by updating, moving, removing this file.

Comments

  • Anonymous
    February 24, 2006
    One more thing.  In the div that contains your map, the style attribute needs "position:relative;", in addition to width and height attributes, or else the map will spill out of the div and take over your whole browser window.  I blogged about my experience at the link provided.
  • Anonymous
    March 20, 2006
    Great fix!

    It worked right away in my application.

    Is is possible future versions and examples will be Firefox compatible from the beginning?
    And if they aren't, it would still be nice if they'll have a note about it.