[Support request] javascript plugin

Home Forums Support javascript plugin

  • This topic has 3 replies, 2 voices, and was last updated 4 years ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #280708

    Hello Tom,

    I need to run javascript to make a tabs plugin call a map plugin with each click of the tab, instead of all at once. Apparently, the responsive aspect of the map program causes it to size the image to 0x0 for non active tabs.

    Can you recommend a javascript plugin that works well with GeneratePress?

    My problem is that I have the javascript that will allow the individual tab call it’s contents to reload on click:

    			var b="fadeIn";
    			var c;
    			var a;
    			d(jQuery("#myTab_640 a"),jQuery("#tab-content_640"));function d(e,f,g){
    				// add your map calling fucntion here 

    and I believe I have the code to call the map:

    <div id="map_container"></div>
    var map = new FlaMap(config);
    // OR

    But I don’t see a way of doing this without a new plugin.

    The results show https://arlinstitute.org/legislation-central


    GeneratePress 1.3.44
    GP Premium 1.2.94
    Lead Developer
    Lead Developer

    Hmm, I’m afraid I can’t see a reason.

    This might be a better question for a site like: http://stackoverflow.com/


    Could you recommend a javascript plugin that works well with generatepress theme?

    Lead Developer
    Lead Developer

    Javascript is a coding language, so that’s a little vague. I’m not sure anything exists to do exactly what you’re looking for there, but if you post your question on StackOverflow someone might be able to spot the issue (and sometimes it only takes a few minutes).

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.