[SOME JS code will not work on initially hidden TAB] Malfunction gmapfp_plugin_j3_7 plugin in the "tab" (gmapfp.org)

More
8 years 6 months ago - 8 years 6 months ago #61714 by randonneur
I installed the plugin gmapfp_plugin_j3_7 to insert a google map in an article.
I created a text field in FLEXIcontent and activated the plugin gmapfp
When I put this field in the "description" of the default template, it functions.
When I put this field in part "tab" of the default template, it does not.
Does anyone has had this conflict?
Thank you

Pierre A. Martin
community & web project manager diplômé
Valais (CH)
Last edit: 8 years 6 months ago by ggppdk.

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

More
8 years 6 months ago - 8 years 6 months ago #61717 by ggppdk
Hello

it is not exactly a bug ...
- some JS code (like the code of the plugin you mention)
may check or it may use DOM selector that excludes hidden elements

and all sub-content inside a non visible TAB is hidden ...

and you are placing it inside a TAB which is initially (on document ready) not visible

- to work around this we would need to let the content TABs be visible on document ready and then hide them after a few seconds
but this would not be user friendly


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 6 months ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.502 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline