WordPress.org

Forums

Squelch Tabs and Accordions Shortcodes
[resolved] Onclick Event (6 posts)

  1. andrezasv
    Member
    Posted 11 months ago #

    Hi,

    How to apply an onclick event on the tabs? I open iframes within each tab and I want they load only after a click on the tab.

    Thanks.

    https://wordpress.org/plugins/squelch-tabs-and-accordions-shortcodes/

  2. Matt Lowe
    Member
    Plugin Author

    Posted 11 months ago #

    In what? Pure JavaScript? jQuery?

  3. andrezasv
    Member
    Posted 11 months ago #

    In pure javascript, please.

  4. andrezasv
    Member
    Posted 11 months ago #

    Actually, I would like to trigger a function when the tab is active. For instance, I open an iframe within each tab and I want to call my function changeUrl() for each active tab in order to change the url of the iframe.

    How to do it by modifying the source code?

  5. andrezasv
    Member
    Posted 11 months ago #

  6. Matt Lowe
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Andrezasv,

    Glad you've solved your issue.

Reply

You must log in to post.

About this Plugin

  • Squelch Tabs and Accordions Shortcodes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.