Actions
Bug #18043
closedToggle Menu in new backend
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
Updated by Ingo Renner almost 17 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
Updated by Stefano Cecere almost 17 years ago
works perfectly under FF & Safari 3.0
Updated by Ingo Renner almost 17 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
Updated by Ingo Renner almost 17 years ago
check http://thinkweb2.com/projects/prototype-checklist/ to get more familiar with prototype
Updated by Steffen Kamper almost 17 years ago
i will check that and improve js, also try to save state like old menu.
Updated by Steffen Kamper almost 17 years ago
i attached new patch which also saves the menu state in uc
Updated by Ingo Renner almost 17 years ago
committed Steffen's patch after cleaning up formatting a little bit, great work!
Actions