Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • in reply to: how to close the accordion by default #6676
    Marina-lesvirees
    Member
    Post count: 2

    Yes, the problem is on this page : http://les-virees-electroniques.com/programmation/

    Thanks again for your time 🙂

    I did the changes you told me now the accordion section in functions.js.php , I did it from the wp board editor :

    /////////////////////////////////////////////
    // Reload Functions
    /////////////////////////////////////////////

    var reloadFunctions = {
    init:function() {

    // Remove title attributes from images to avoid showing on hover
    $j(‘img[title]’).each(function() {
    $j(this).removeAttr(‘title’);
    });

    $j(‘.gallery-icon a[title]’).each(function() {
    $j(this).removeAttr(‘title’);
    });

    // Tabs Shortcode Function
    $j(‘.tabbed-asset’).tabs();

    // Accordion Shortcode Function
    $j(‘.accordion’).accordion({
    activate: false,
    collapsible: true,
    autoHeight: false
    });

    }
    }

    Marina.

    in reply to: how to close the accordion by default #6459
    Marina-lesvirees
    Member
    Post count: 2

    Hi Ed

    Thanks for your quick answer. Unfortunately this doesn’t work for me… the first accordion box is still open by default…

Viewing 2 posts - 1 through 2 (of 2 total)