Maps in Tabs
-
I’m using the Divi theme with Mapster, both current.
What I am trying to do is place three of four maps in tabs… but I’m having problems getting the maps to load full size. That is, the size I have set in the plugin or full width.
If I load the page, and click on a tab right away …before the page finishes loading, the map loads full size. If I let the page load completely then click on the tabs the maps load at something like 382px by 285px.
With the Divi plugin, the first tab loads automatically, and at the proper size (full width). The other tabs load only a small map upper left. I can get the other maps to load properly, but only is I hit the next tab before the page finishes loading.
https://staging3.ranainteractive.com/tabed-maps-1/
I tried setting up some tabs with jQuery and CSS Styles, rather than using the DIvi Tabs Module, but ended up with the same problem.
https://staging3.ranainteractive.com/blurb-tabs-1/
It seems like the maps are starting to load in the background maybe? I generally see my Mapster maps load first, at the smaller size 382px by 285px, but then immediately go to the full size I have set up in the plugin.
Is there a way to force the maps to reload on click? So that when I click the next tab the map loads only then, or reloads at that point? I’m not sure exactly what is going on. Thanks
The page I need help with: [log in to see the link]
- The topic ‘Maps in Tabs’ is closed to new replies.