Project

General

Profile

Actions

Feature #10525

closed

A new button to hide/show the sidebar

Added by Jérôme BATAILLE about 12 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate

Description

On small screens (Netnooks, laptops) the sidebar take some place that is not necessary all the time.

Here are 2 html snippets :
The first to insert just before the closing h1 or h2 tag of the page title :


<span style="float:right"><a href="#" onclick="$('main').toggleClassName('nosidebar');if($('sidebar_view').src.split('/').pop() == 'minimize.ico'){$('sidebar_view').src='/images/maximize.ico';}else{$('sidebar_view').src='/images/minimize.ico';};"><img src="/images/maximize.ico" id="sidebar_view" /></a></span>

And a second when there are links on the right top corner :


<span><a href="#" onclick="$('main').toggleClassName('nosidebar');if($('sidebar_view').src.split('/').pop() == 'minimize.ico'){$('sidebar_view').src='/images/maximize.ico';}else{$('sidebar_view').src='/images/minimize.ico';};"><img src="/images/maximize.ico" id="sidebar_view" /></a></span>

The 2 icons are to put in public/images



Files

maximize.ico (1.66 KB) maximize.ico Jérôme BATAILLE, 2012-03-22 16:55
minimize.ico (1.66 KB) minimize.ico Jérôme BATAILLE, 2012-03-22 16:55
redmine_smile_togglesidebar_V1.0.tgz (9.57 KB) redmine_smile_togglesidebar_V1.0.tgz Jérôme BATAILLE, 2013-04-25 15:47
diamonds.png (1.36 KB) diamonds.png Vladimir Pitin, 2013-08-14 11:59
close.png (1.31 KB) close.png Vladimir Pitin, 2013-08-14 11:59

Related issues

Related to Redmine - Feature #12032: Collapsible SidebarClosed

Actions
Has duplicate Redmine - Feature #1294: Gantt Chart: Show/Hide Right MenuClosed2008-05-24

Actions
Has duplicate Redmine - Feature #8982: Hide right panelClosed2011-08-04

Actions
Is duplicate of Redmine - Patch #21808: Make the Sidebar collapsible, statefulNeeds feedback

Actions
Actions

Also available in: Atom PDF