Treehouse: Grow your CSS skills. Land your dream job.

Organic Tabs – and Google Map

  • Anonymous
    # September 27, 2012 at 1:33 am

    I’m trying to put a google map in an organic tab (

    If I put the map anywhere else outside the tabs (or even in the first tab) it works fine. But if I put the map in any other tab the size of the map is cut off.

    Too see this in action simple go here and click the Map tab. I tried to skim alot of code out to make it easier to fix.

    If anyone can help I would appreciate it.

    # October 25, 2012 at 11:20 am

    I know why it’s cut off, but I don’t have a fix.

    Maybe you could use this to further your search…

    The Map centres it’s self into the top left corner, when the page is loaded, not when the tab with the map loads. So that’s why your loosing 3/4 of your map.

    Maybe move the onload=”initialize()” to the map tab and change it to onclick=””?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.