Sha256: 8d668bab0900e6f6491858f7a3e25a191f2a8a933b646ec479657f6c3c73a381

Contents?: true

Size: 691 Bytes

Versions: 8

Compression:

Stored size: 691 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();
    $('body').css('display','block'); /* Hack Firefox previous line dosen't work with firefox */
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
beautiful_scaffold-0.3.3 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-0.3.2 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-0.3.1 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-0.3.0.rc6 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-0.3.0.rc5 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-0.3.0.rc4 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-0.3.0.rc3 lib/generators/templates/app/assets/javascripts/fixed_menu.js
beautiful_scaffold-0.3.0.rc2 lib/generators/templates/app/assets/javascripts/fixed_menu.js