medi : update navigation
Posted by sarneil on 05 Dec 2012 in Activity log
Reorganized the items and subitems (renaming, shuffling of order) in the nav system on the dept site. Notoriously tricky to do because of the interactions between the css for the shields and the javascript array that contains the information used to generate the cells containing the shields.
Whole thing is brittle: the last main item must not contain any subitems or the whole thing fails. If you add a seventh shield to the home page, it's almost impossible to get the right-most one to not be cropped.
Also there is a duplicate js structure for the navigation for all other pages on the site, so had to modify that.
Finally, for those subitems I put in new main menus, I had to edit the link to the image in the html for those pages.