Map in tab, click function
-
Hello,
I am experiencing a similar problem as the one solved in this topic. I have placed the google-maps-builder shortcode inside a tab, so I need help to write a function that re-trigger the JS when that tab is clicked. My page is not online at the moment, but is similar to this demo page.The tab is the same as the front page tab “Getting here”, the map at at demo page is generated using iframe, while mine is using google-maps-builder shortcode.
There is no way to add a unique class name to the LI from the themes page builder. This is the code that needs to be targeted:
<ul class="block-tabs"> <li class=""><h3><i class="fa fa-microphone"></i> Concert Info </h3>January 02, warm up act starts 7:00pm</li> <li><h3><i class="fa fa-ticket"></i> Tickets </h3>Tickets at the door, from $35 each</li> <li class="active"><h3><i class="fa fa-map-marker"></i> Getting Here </h3>305 Laneway Drive, Riverton, 40567</li> </ul>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Map in tab, click function’ is closed to new replies.