![]() |
Search:
|
Page last modified 17:27, 6 Oct 2011 by tehmina.khan
Template:MindTouch > Controls > DisablePageControls
DisablePageControlsTable of contentsNo headers/*** DisablePageControls() Tina Says : Choose from the options below the control to be disabled For the Edit page function I have left the 'e' in Edit in lower case in the code - this effectively disables it. To enable it use upper case 'E'. $('.pageEdit').css( 'display','none'); - Hides the 'Edit' function (use with caution - you will not be able to access teh page) $('.pageAdd').css( 'display','none');- Hide the 'New Page' function $('.pageProperties').css('display', 'none'); - Hides 'Set Page Properties' in the 'More' drop down $('.pageMove').css( 'display','none'); - Hides 'Move Page' in the 'More' drop down $('.pageDelete').css('display', 'none'); - Hides 'Delete Page' in the 'More' drop down $('.pageRestrict').css('display', 'none');- Hides 'Restrict access' in the 'More' drop down $('.pageMore').css('display', 'none'); - Hide 'More' $('.pagePrint').css('display', 'none'); - Hides 'Print Page ***/ <html><tail> <script type="text/jem">" $('.pageedit').css( 'display', 'none'); $('.pageAdd').css( 'display', 'none'); $('.pageProperties').css('display', 'none'); $('.pageMove').css( 'display', 'none'); $('.pageDelete').css('display', 'none'); $('.pageRestrict').css('display', 'none'); $('.pageMore').css('display', 'none'); $('.pagePrint').css('display', 'none'); "</script> </tail></html> |
|
Powered by MindTouch Core |