Support » Plugin: TAB SLIDE » [Plugin: TAB SLIDE] Activate slider from a separate button

  • Resolved InterMonkey


    I got a request to add a “Close [X]” button to the slider.

    Let’s say I add this code in the content of the slider:
    <a href="#" id="toggleSlider">Close [X]</a>

    Is there a JQuery function call I can make that will close the slider (that is… without having to re-invent the wheel)?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author zoranc


    I’ve been playing around with this as well… it is definitely on my todo list for upcoming plugin updates… For now, you can go to my web site for a working solution…look at that tab-slide.js and tab-slide.css

    the function you are looking for is called makeItSlide

    check out the click events for #contactA and #tab_toggle – in short I edited it to toggle classes (.open_action and .close_action) that switch the background of tab_toggle, resize and move around the image.

    All this will be made as an available Tab Slide Style in your option page in a future update

    Any way to do this without modifying the plugin’s code? I don’t want it to get overwritten if the client updates the plugin.

    Thanks for your reply!

    Plugin Author zoranc


    Perhaps using jQuery trigger would do the trick?

    you can have this in a js file that is included via your theme’s functions.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: TAB SLIDE] Activate slider from a separate button’ is closed to new replies.