Bug #18043
Toggle Menu in new backend
Status: | Closed | Start date: | 2008-01-23 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Ingo Renner | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 4.2 | Is Regression: | ||
PHP Version: | 5.2 | Sprint Focus: | ||
Complexity: |
Description
This is a beginning for toggle menu in BE
toDo: save state via Ajax
(issue imported from #M7251)
Related issues
History
#1 Updated by Ingo Renner over 7 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
#2 Updated by Stefano Cecere over 7 years ago
works perfectly under FF & Safari 3.0
#3 Updated by Ingo Renner over 7 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
#4 Updated by Ingo Renner over 7 years ago
check http://thinkweb2.com/projects/prototype-checklist/ to get more familiar with prototype
#5 Updated by Steffen Kamper over 7 years ago
i will check that and improve js, also try to save state like old menu.
#6 Updated by Steffen Kamper over 7 years ago
i attached new patch which also saves the menu state in uc
#7 Updated by Stefano Cecere over 7 years ago
works (safari 3 and FF2)
+1
#8 Updated by Ingo Renner over 7 years ago
committed Steffen's patch after cleaning up formatting a little bit, great work!