WordPress.org

Forums

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

  1. andrezasv
    Member
    Posted 2 years 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 2 years ago #

    In what? Pure JavaScript? jQuery?

  3. andrezasv
    Member
    Posted 2 years ago #

    In pure javascript, please.

  4. andrezasv
    Member
    Posted 2 years 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 2 years ago #

  6. Matt Lowe
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Andrezasv,

    Glad you've solved your issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags

No tags yet.