× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

Conflict with Tabs extension - partly solved...

fingeradmin replied the topic: Conflict with Tabs extension - partly solved...

6 years 4 months ago

Hi Luka,

(sorry for being unresponsive lately, i spend a lot of time on the road
and have loads of other work to do...)

As for your problem: This seems to be (another) CSS-related issue.
IMHO it's not the script having problems determining the width,
however - maybe some CSS "trick" is needed here.

If the map shows up correctly with the width given in px units,
the script seems to be working fine.

I wonder if some javascript "magic" could do the trick,
but i'm far from being a JS expert.

Maybe someone else here can help out on this issue?

cheers, Frank

Please Log in or Create an account to join the conversation.

bubi created the topic: Conflict with Tabs extension - partly solved...

6 years 4 months ago

Hi dear moderator!

I am sorry I wrote several almost identical messages about maps not working with tabs extension. I did not read the label the topic has to be approved by you! Sorry!

The problem should be because of I set the width of the map in "%" units. When the tab is not activated it's style property is set to "display:none;". It looks like the script has problems determinate it's width in this state.

The solution of my problem lies with the setting "width of the map". When I changed it from "%" to "px" the map show in full size with track info working normally.

There is still a problem that I would like to keep the map as responsive as possible and thus suitable for various display sizes. Any help here would be really appreciated!

Thanks, Luka

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum