SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Feb 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    browser compatibility - object tag with google maps in ie8

    Dear Friends,

    I am having a issue where i am unable to display google maps inside an object tag. It works fine in firefox but not in internet explorer.

    In ie8 i can make it work by using iframes, but its then not strict xhtml compliant.

    Is it possible to use the object tag or any other standards compliant way to get google maps displayed in ie8?

    You can see the problem live in these pages:
    Object tag, so not working - http://kourageride.org/route_not_working.html
    Iframe, so its working - http://kourageride.org/route.htm

    <object id='map_canvas' data='http://maps.google.com/maps?f=d&amp;...........
    </object>

    vs.

    <iframe id='map_canvas' frameborder="0" src='http://maps.google.com/maps?f=d&amp;sou.....
    </iframe>

    Any help would be greatly appreciated.

    Thanks a lot for reading this.

  2. #2
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,806
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Hi and welcome to the forums.
    First up, 5 fluff posts so you can post a link is not a good idea.

    Right then, have a read of:
    http://blog.poplabs.com/2009/08/embe...-xhtml-strict/

    They came up with a conditional solution for IE.
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  3. #3
    SitePoint Member
    Join Date
    Feb 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dear Spikez,

    Thanks a lot lot for the info. :-).................

    Sorry about the fluff posts, when it suddenly said i had to make 5 posts min, brought back memories of astahost where they force members to post to make their own site more popular. Helping is something that we do on our own terms, not when somebody arm twists us into doing it, don't you think so? And when we are in the middle of some crazy things and somebody asks you to jump hoops like some govt official it sort of pisses you of. Hope you understand.

    I realize you do it to prevent spam, still...............

    Sorry again, and thanks a tonne. :-)...................................


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •