![]() |
Search:
|
Page last modified 10:54, 27 Mar 2012 by tehmina.khan
Template:Hide Elemments of a page > Template:GlobalView
Template:GlobalViewTable of contentsNo 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> |
|
Powered by MindTouch Core |