Hi,
I'm running version 6.7.2 and I'm trying to hide element for anonymous but i'have problems with side bar and help button
( side bar width change during navigation )
here javascript used
<script type="text/javascript">
AJS.bind('init.rte', function() {
AJS.$('#notifyWatchers').attr('checked', false);
});
// désactive le workspace en public
AJS.toInit(function(){
if (AJS.params.remoteUser == ''){
AJS.$('#space-menu-link').hide();
AJS.$("#space-tools-menu-trigger").hide();
AJS.$("#more-menu").hide();
AJS.$('#action-menu-link').hide();
AJS.$('#comments-section').hide();
AJS.$('.help-menu-link-content').hide();
AJS.$('.ia-fixed-sidebar').hide();
AJS.$(".aui-iconfont-help").hide();
AJS.Confluence.Sidebar.toggle();
}
});
</script>
Thanks for your help