Search:
Template:Hide Elemments of a page > Template:GlobalView

Template:GlobalView

    Table of contents
    No headers
    //This skin is for the beech skin to Hide various elements on a page for all but admin
    //Tina I have created another one to hide files and comments from all but admin  25/10/2011
    //
    <script type="text/jem">"
    $('document').ready(function() {
    if({{!user.admin}}){
    $('div.site-nav').css('display', 'none');
    $('div.navigation').css('display', 'none');
    $('div.page-nav').css('display', 'none');
    $('tr.footer').css('display', 'none');
    $('span.dw-hierarchy').css('display', 'none');
    $('div.meta').css('display', 'none');
    $('table.content tbody tr td.highlight').css('display', 'none');
    $('table.header tbody tr td.right').css('display', 'none');
    }
    });
    "</script>
    

    Files (0)

     

    Comments (0)

    You must login to post a comment.