Sliding handles

Categories

Component ID

2531854

Component name

Sliding handles

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

380

Component created

Component changed

Component body

This is a simple module that adds an empty tag to a selected menu. The span can then be styled separately from the li and a elements. It is named after the Sliding doors technique posted by Douglas Bowman on http://alistapart.com/article/slidingdoors

Basically, it replaces the typical menu list item
<li class="leaf"><a href="/link">Press links</a></li>
with:
<li class="leaf"><a href="/link">Press links</a><span class="sliding-handle"></span></li>

Normally this would be done with javascript or a template.php override, but this is for the special case where you either don't do that or aren't allowed to do that.

This module is compatible with the menu attributes module to extend further functionality