Sha256: d2f0d423c82c5c14e900f8e06945a8f430fb8384fcce189dd314543c2ed1715b

Contents?: true

Size: 685 Bytes

Versions: 6

Compression:

Stored size: 685 Bytes

Contents

function modify_dom_init(){
    var span2 = $("body>div.container-fluid>div.row>div.col-md-2");
    span2.addClass("fixed visible-md visible-lg");
    span2.removeClass("col-md-2");

    span2.children("ul").removeClass("well");

    var span10 = $("body>div.container-fluid>div.row>div.col-md-10");
    span10.addClass("filler");
    span10.removeClass("col-md-10");

    var cnt2 = $("body>div.container-fluid").contents();
    $("body>div.container-fluid").replaceWith(cnt2);

    var cnt = $("body>div.row").contents();
    $("body>div.row").replaceWith(cnt);

    $('body').show();
    $('body').css('display','block'); /* Hack Firefox previous line dosen't work with firefox */
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
beautiful_scaffold-1.0.2 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-1.0.1 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-1.0.0.pre lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-0.3.6 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-0.3.5 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-0.3.4 lib/generators/templates/app/assets/javascripts/fixed_menu.js