Home / Forums / DynamiX Support / Google maps inside tabs

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts

  • JLFH
    Participant

    Hi I'm trying to insert google maps inside tabs, I'm using Google Maps Embed plugin, it works perfectly with the theme, but when I insert one map in a tab diferent to the first, it doesn't show correctly, here's and example:

    http://jlfh.me/?page_id=5

    Here´s the code:

     

    [cetsEmbedGmap src=http://maps.google.com/maps/ms?msid=214253718809262327781.0004980cc5345147779a6&msa=0 width=600 height=600 marginwidth=10 marginheight=10 frameborder=10 scrolling=no]

    [tabswrap] [tabhead id="1"] title 1 [/tabhead] [tabhead_last id="2"] title 2 [/tabhead_last] [tab id="1"] [cetsEmbedGmap src=http://maps.google.com/maps/ms?msid=214253718809262327781.0004980cc5345147779a6&msa=0 width=600 height=600 marginwidth=10 marginheight=10 frameborder=10 scrolling=no] [/tab] [tab id="2"] [cetsEmbedGmap src=http://maps.google.com/maps/ms?msid=214253718809262327781.0004980cc5345147779a6&msa=0 width=600 height=600 marginwidth=10 marginheight=10 frameborder=10 scrolling=no] [/tab] [/tabswrap]

     


    JLFH
    Participant

    How can I make the map in the second tab look the same than the one ouside the tabs, I'm using the exact plugin shortcode.


    JLFH
    Participant

    I don't know if this helps, but someone solve this problem:

    http://wordpress.org/support/topic/plugin-mappress-easy-google-maps-mappress-not-displaying-properly-in-tabs?replies=9

    I know is a diferent setting (plugin and tabs) but maybe you get an idea from there.


    JLFH
    Participant
    Andy
    Andy
    Keymaster

    Hi,

    I maybe being blind but how is it showing different to the first tab? 


    JLFH
    Participant

    I'm sorry, my mistake, I used a diferent plugin, here's the correct example:

    http://www.jlfh.me/

     


    Wordpress 3.2.1

    Dinamix 2.8.6

    Mappress 2.38

    Page:

    [tabswrap] [tabhead id="1"] title 1 [/tabhead] [tabhead_last id="2"] title 2 [/tabhead_last] [tab id="1"] [mappress mapid="1"] [/tab] [tab id="2"] [mappress mapid="1"] [/tab] [/tabswrap]

    Andy
    Andy
    Keymaster

    I think the issue is that the jquery can't trigger the map after the tab is clicked on. I'm not sure you'll be able to overcome this. 

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

You must be logged in to reply to this topic.