Project

General

Profile

Actions

Bug #18043

closed

Toggle Menu in new backend

Added by Steffen Kamper over 16 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-01-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

This is a beginning for toggle menu in BE

toDo: save state via Ajax
(issue imported from #M7251)


Files

7251.diff (5.45 KB) 7251.diff Administrator Admin, 2008-01-23 18:32

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #18072: [Usability] Inline Palettes open too fast; add a smooth foldingClosed2008-01-29

Actions
Is duplicate of TYPO3 Core - Feature #17680: Make the folding/unfolding of the menu items use AJAX instead of reloading the frameClosedIngo Renner2007-10-15

Actions
Actions #1

Updated by Ingo Renner over 16 years ago

Steffen, have a look at the old menu, there should be some uc variable already which was used to store the toggle state with the old backend

Actions #2

Updated by Stefano Cecere over 16 years ago

works perfectly under FF & Safari 3.0

Actions #3

Updated by Ingo Renner over 16 years ago

by looking at the JS:

  • just give the headers a class which you can the look up using prototype's $$ function
  • for initialization do not observe clicks on document but observe the dom:loaded event and then use each to iterate over the elements you found using $$
  • event.target, parentNode, .id are bad style, please use prototype's function. makes things a lot easier
Actions #4

Updated by Ingo Renner over 16 years ago

check http://thinkweb2.com/projects/prototype-checklist/ to get more familiar with prototype

Actions #5

Updated by Steffen Kamper over 16 years ago

i will check that and improve js, also try to save state like old menu.

Actions #6

Updated by Steffen Kamper over 16 years ago

i attached new patch which also saves the menu state in uc

Actions #7

Updated by Stefano Cecere over 16 years ago

works (safari 3 and FF2)
+1

Actions #8

Updated by Ingo Renner over 16 years ago

committed Steffen's patch after cleaning up formatting a little bit, great work!

Actions

Also available in: Atom PDF