It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Some users don't know about the menu button for hiding the sidebar, so on a specific page I'd like to make a normal HTML button that when clicked toggles the sidebar. Then I can put it in a panel.
You can certainly do that. All you need to do it edit the page template and put a button somewhere on the page that will fire off some javascript to programatically click the one in your header. Now, from a usability standpoint I think it is a better idea just to educate the users rather than duplicate functionality on the page.
Didn't realize that you want it only an a specific page. Same answer just without editing the template. I would create a user macro to do this. It would look something like this.
## @noparams <form class="aui"> <button id="custom-splitter-toggle" class="aui-button">Toggle Sidebar</button> </form> <script type="text/javascript"> AJS.toInit(function(){ AJS.$('#custom-splitter-toggle').click(function(event){ AJS.$('#splitter-button').click(); event.preventDefault(); }); }); </script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There's a button on the sidebar to toggle it, next to "space tools". The << and >>
That's in the standard theme though - if you're using a different version of Confluence and/or a different theme, it might not be there, but it might be possible to add it. But we'd need to know what we're working with.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm using the Documentation theme, and there is a button right next to search that does what I want, but since it is unlabled people miss it. I'd like to add a second more obvious button in the page text itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.