WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
Using Collapse-o-matic as tabs (7 posts)

  1. mdf84
    Member
    Posted 1 year ago #

    Hi I have a website which parts of the structure use the collapse-o-matic plugin which works well and no problems. I like the way the panel closes when clicked on another sliding panel to reveal other content but is there a way to utilise this in the form of a tabbing system. Best way to describe what is needed is to visit the link below.

    The buttons 'research analysis', 'product design' expand to reveal the respective content. But when clicking through each button, there's a sliding function but it reveals the new content 'underneath'. What we would like to achieve is a simple close of one tab and the new tab slowly revealing after.

    http://project-stage.co.uk/inventability-2/

    Is there any way for this to work so that each of the tabs close then open as they are clicked.

    Thanks in advance.

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

  2. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    To be clear: you want the highlander grouping to 'bounce' the content. Fully close the old content, before expanding the new. Correct?

  3. mdf84
    Member
    Posted 1 year ago #

    Yes indeed this already works fine for the other panels, it is just those tabs 'research analysis' 'product design' When you click on each tab the content seems to slide up rather than closing the last one then revealing the new content.

    Thanks for the quick reply :-)

  4. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Hey-hey. Give this a try:

    1. Download 1.4.11a from The Plugin Oven
    2. include trigclass="snap-shut" in the shortcode of expand elements you want to immediately slam-shut when closed.

    So, rather than first animate the last tab closed, then animate the new tab open, this will SLAM the old tab closed, and animate the new tab open.

    Please let us know if this works for you!

  5. mdf84
    Member
    Posted 1 year ago #

    Hi Baden

    Thanks for the help. I don't seem to recieve emails letting me know you have replied so apologies for the late replies!, the update didn't quite seem to make a difference only the speed of the sliding. My quess is (although I'm no expert) is the timings of the slide so when the next tab is clicked it will fully close the last one (quite smoothly) then open the next. I have a link below to a tab demo which best describes what i am saying :-) it is exactly the kind of thing I would like. So my question to you is can this plugin replicate this kind of behaviour?

    Thanks again in advance, appreciate the help.

    http://ajaxdump.com/?J6gXsIst

  6. mdf84
    Member
    Posted 1 year ago #

    Hi Baden,

    Did you get my last reply? Many thanks

    Michael

  7. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    Yes. Currently there is no way to tell something to expand, but wait until any open items are collapsed. We will look into adding this to a future release. What you should be able to do with the solution we provided is quickly 'slam shut' any open items and then open the item that was clicked. But since your example site (http://project-stage.co.uk/inventability-2/) no longer works, we have moved on.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic