-
AuthorPosts
-
March 21, 2015 at 3:40 pm #415738
Dear all,
I am using tab – shortcodes in a lot of my page-template and it really works well with dynamic execution using “do_shortcode”.Unfortunately there is one exception: when the shortcode is executed as part of a magnific-popup page… in this case the av_tab_section classes are created correctly – but unfortunately the class “tab_titles” is completely missing in the html code.
The link to my page is in the private content section…
Thanks for your help!
March 23, 2015 at 3:45 pm #416416Hi ernst86913!
According to this site – http://www.downforeveryoneorjustme.com/ your website is currently down. Can you please check the link once again?
Regards,
YigitMarch 25, 2015 at 9:16 am #417615This reply has been marked as private.March 26, 2015 at 11:59 pm #418920Hi Roman!
What’s the source of this content? where do you have this tab elements?
Best regards,
JosueMarch 27, 2015 at 12:10 am #418926Hi Josue –
source is a single page, which uses the following code for printing the tab container:$content = ”
[av_tab_container position='top_tab' boxed='border_tabs' initial='1' custom_class='business_tabs']
[av_tab title='Overview' icon_select='yes' icon='ue84b' font='entypo-fontello']
“.$overview.”
[/av_tab]
[av_tab title='Functionality' icon_select='yes' icon='ue855' font='entypo-fontello']
“.$functionality.”
[/av_tab]
[av_tab title='Price & Editions' icon_select='yes' icon='ue810' font='entypo-fontello']
“.$pricing.”
[/av_tab]
[av_tab title='Q&A' icon_select='yes' icon='ue81c' font='entypo-fontello']
“.$support.”
[/av_tab]
[/av_tab_container]“;
… as mentioned… this works well when displayed as standard page – but with magnific popup overlay which comes with Enfold schema this does not work anymore… you can test this by linking to a enfold page which contains a tab – but not a standard link but a magnific popup overlay.
Thanks for your help!
RomanMarch 27, 2015 at 1:04 am #418950Hi!
I see, you may have already done this but i have to ask it anyways, have you tried disabling all third-party plugins to see what happens?
Alternatively, you could create a “standard page” where it is working fine and make the popup point to that page (iframe popup).
Cheers!
JosueMarch 27, 2015 at 2:05 am #418998Hi – the issue seems to be related to AJAX popup… with IFRAME it’s working – but… I really need AJAX for several reasons… seems when av_builder is called within AJAX popup there are problems with html code assembly?
BR, Roman
March 27, 2015 at 2:20 am #419005The problem is, these elements are not suited to be called as Ajax content because there is some JavaScript that gets applied on top of them, the
tab_titles
thing for example, is dynamically added in js/shortcodes.js, line 2590:tab_titles = $('<div class="tab_titles"></div>').prependTo(container),
Not sure about this but you could try putting them as raw HTML instead of shortcode format.
Best regards,
JosueMarch 27, 2015 at 10:24 am #419174Thanks a lot – simply including the SHORTCODE-JS file in my AJAX code made it work – great support! thx.
March 27, 2015 at 5:29 pm #419459Good thinking, glad to help :)
Best regards,
Josue -
AuthorPosts
- The topic ‘Tab Shortcode’ is closed to new replies.