Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter dados

    (@dados)

    any replay?

    Thread Starter dados

    (@dados)

    Hmm… really.. Nobody???

    Hi,
    yes ther’s a way:
    go to widgets>Tabbed Widgets>modify
    open tabbed-widgets/js/init-plugin.js
    and change this

    if ($was_open) {
    			if ($was_open.split('-')[0] == $widgetid) {
    				$start_tab = parseInt($was_open.split('-')[1]);
    				var $open_previous = true;
    			}

    by that

    if ($was_open) {
    			if ($was_open.split('-')[0] == $widgetid) {
    				$start_tab = parseInt($was_open.split('-')[0]);
    				var $open_previous = false;
    			}

    Thread Starter dados

    (@dados)

    thanks

    Hm. no. don’t work…

    Finally, what I did is to put a fake first tab in the widget, and add for the class .tw-widget-first something like that:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    .tw-widget-first{
        color: transparent;
        display: block;
        font-size: 1px;
        height: 0.001em;
        line-height: 0.001em;
        padding-left: 300px;
    }

    It’s not very clean, but it works…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Tabbed Widgets] How to create to all tabs be close by default’ is closed to new replies.