MDL-38661 Course: Add JS category expander.

This adds a category expanded which:
* fetches child content in a category tree if it has not already been loaded;
* toggles relevant classes on the category node to show and hide child content; and
* applies appropriate animations to improve user experience.
This commit is contained in:
Andrew Robert Nicols 2013-03-12 11:27:45 +00:00 committed by Marina Glancy
parent b69ec2889e
commit 53c1b936e5
18 changed files with 1437 additions and 103 deletions

View file

@ -8,16 +8,6 @@
margin: 15px 0 25px;
}
.course_category_tree .controls {
color: #888;
font-size: 0.9em;
margin-top: 10px;
}
.course_category_tree .controls div {
margin: 0 5px 0 0;
}
#page-course-index-category .generalbox.info {
margin: 25px auto 30px;
width: 75%;