Views Jump Menus
Jump Menus in Drupal 7 Views
User Guide to using Drupal 7 Views Jump Menus. If there are a lot of links and you don't want to take up space with long visible lists of these links, a Jump Menu also known as a drop down menu is a useful solution. Instead of the list.
This video guide shows how to: Create a jump menu in Drupal 7 Views, set the link to use in jump menus, set the default value in a jump menu to the active page and some other settings.
Creating a Jump Menu
The guide starts by creating a new view for the jump menu which will switch between user pages on the site. Select Users for the 'Show' content type option, and select the option to create a block instead of a page, then select 'Display format' - Jump Menu. Clear the 'Items per page' field so all available items will be included in the jump menu.
Click 'Continue and Edit' to configure the view. Open the jump menu settings (Format). The jump menu settings has some useful notes to remind you about some essential things needed to set up a jump menu. "To properly configure a jump menu, one field must be selected to represent the path to use. That field should then be set to exclude from display!. All other displayed fields will be part of the menu. Note all HTML will be stripped from this output as select boxes cannot show HTML" (in HTML terms jump menus are a type of form select box).
Add a Field to Use For The Jump Menu Path
As we have only added a single field to this view, we need to go back to the view configuration panel and add a suitable field to use for a path for the jump menu. Following the example, select User: UID from the options available and click Add and Configure to continue.
In the User UID field configuration panel, deselect the Link this field to it's User, and omit the label, select exclude from display then go down to 'Rewrite results' settings. Select the option to rewrite the output of the field. In the text area, add the path information - if following this example enter user/[uid]. (Remember the replacement patterns contained in square brackets from previous episodes?). Click Apply.
Check the Pager option to make sure there is no pager set! If there is, delete it.
Select the Path Field for the Jump Menu
Go back to the Format editor and select Jump menu | settings; In the configuration panel to select the Path field. In this case select User: UID. Apply the changes and save the view.
Add the Block
The last thing to do is add the new block to a region.
Jump Menu Options:
The 'Go' button can be removed from the display; then simply selecting the item from the list will open the linked item. The button text can be changed as can the first line of text seen in the jump menu box, and a contextual filter value can be applied.
Video Credit
Learn Views with NodeOne, part 18: Jump menu from NodeOne.se

