Sha256: 4c1fead6587f4192511af9d63f9ec1389ccd7c7c3070ccc306b67f33c5359949

Contents?: true

Size: 594 Bytes

Versions: 2

Compression:

Stored size: 594 Bytes

Contents

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

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

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

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

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

    $('body').show();
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beautiful_scaffold-0.3.0.rc1 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-0.3.0.pre lib/generators/templates/app/assets/javascripts/fixed_menu.js