Title: Callback after tab switch
Last modified: November 6, 2020

---

# Callback after tab switch

 *  Resolved [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/callback-after-tab-switch/)
 * Can you fire a JS callback after a tab has switched? I’d like to be able to trigger
   a browser resize after the new tab is selected.
 * For context: [https://wordpress.org/support/topic/slider-in-tabs-in-tab-responsive-not-displaying-immediately/#post-13631485](https://wordpress.org/support/topic/slider-in-tabs-in-tab-responsive-not-displaying-immediately/#post-13631485)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [lokeshkalosiya](https://wordpress.org/support/users/lokeshkalosiya/)
 * (@lokeshkalosiya)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/callback-after-tab-switch/#post-13632938)
 * Hi [@kbat82](https://wordpress.org/support/users/kbat82/),
 * I have tested our plugin with your meta slider plugin with mins theme and it 
   is working properly without any loading issue. There may be an issue with other
   plugin’s confliction please try to deactivate other plugins one by one and please
   let us know if its work
 * thanks
 *  Thread Starter [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/callback-after-tab-switch/#post-13634092)
 * Hi,
 * It’s actually a typical browser issue where the browser won’t always compute 
   the width and height of hidden images. In that case, Flexbox won’t initialize
   the slider images properly (it will assume a 0 height).
 * If your plugin doesn’t have an event callback system then I’ll just write a simple
   click event listener for the user to add to their site that can mimic it.
 * Thanks
 *  [lokeshkalosiya](https://wordpress.org/support/users/lokeshkalosiya/)
 * (@lokeshkalosiya)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/callback-after-tab-switch/#post-13764828)
 * Hi [@kbat82](https://wordpress.org/support/users/kbat82/)
 *  glad that your issue has been resolved please rate us if you like our plugin.
 * Thank you
 *  [seerose21](https://wordpress.org/support/users/seerose21/)
 * (@seerose21)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/callback-after-tab-switch/#post-14179236)
 * English
 * Hello,
 * have the template Twenty Seventeen.
    in the backend I have at pages, each a page
   entry. On [https://it-dienstleistungen-schmitz.de](https://it-dienstleistungen-schmitz.de)
   the top of the pages are duplicated. What is the directory path to the php file.(
   from root ).
 * Germany
    Hallo,
 * habe das Template Twenty Seventeen.
    im Backend habe ich bei Seiten,jeweil einen
   Seiteneintrag. Auf [https://it-dienstleistungen-schmitz.de](https://it-dienstleistungen-schmitz.de)
   sind oben die Seiten doppelt. Wie lautet der Verzeichnispfad zur php Datei. (
   ab root ).
 *  [seerose21](https://wordpress.org/support/users/seerose21/)
 * (@seerose21)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/callback-after-tab-switch/#post-14179380)
 * I have no plugin.would like to have it.what is the name plugin.
 *  [seerose21](https://wordpress.org/support/users/seerose21/)
 * (@seerose21)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/callback-after-tab-switch/#post-14179487)
 * thank, wat is to name Pluin?
 *  [seerose21](https://wordpress.org/support/users/seerose21/)
 * (@seerose21)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/callback-after-tab-switch/#post-14179530)
 * Hello,how do you imagine this? change all computer browsers in the world with
   it?
 *  [seerose21](https://wordpress.org/support/users/seerose21/)
 * (@seerose21)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/callback-after-tab-switch/#post-14179693)
 * Database tables name? Site

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Callback after tab switch’ is closed to new replies.

 * ![](https://ps.w.org/tabs-responsive/assets/icon-256x256.png?rev=2337177)
 * [Tabs Responsive - With WooCommerce Product Tabs Extension](https://wordpress.org/plugins/tabs-responsive/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tabs-responsive/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tabs-responsive/)
 * [Active Topics](https://wordpress.org/support/plugin/tabs-responsive/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tabs-responsive/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tabs-responsive/reviews/)

## Tags

 * [Twenty Seventeen](https://wordpress.org/support/topic-tag/twenty-seventeen/)
 * [worldpress](https://wordpress.org/support/topic-tag/worldpress/)

 * 8 replies
 * 3 participants
 * Last reply from: [seerose21](https://wordpress.org/support/users/seerose21/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/callback-after-tab-switch/#post-14179693)
 * Status: resolved