Places API Reference

Contents

UI API

 
nokia

Data API

 
nokia

jsMotif

 
jsMotif

Class nokia.places.modules.Menu

Class Summary

This class represents component which displays the contents of a menu item (expands the item, showing a sub-menu) when the mouse pointer hovers over that item. The module Menu works in tandem with the template booking. The class searches for rel attributes with the value of 'menu-elem', and then within the items containing 'menu-elem', for ones with rel set to 'menu-show'. When the user hovers with the mouse pointer over a menu item with rel set to 'menu-elem', the class causes that item's sub-menu (all the items with rel set to 'menu-show') to be displayed. Note that menu items with the sub-menus are displayed only for hotels, provided that the place data include links to providers of booking facilities.

Constructor Detail

This class represents component which displays the contents of a menu item (expands the item, showing a sub-menu) when the mouse pointer hovers over that item. The module Menu works in tandem with the template booking. The class searches for rel attributes with the value of 'menu-elem', and then within the items containing 'menu-elem', for ones with rel set to 'menu-show'. When the user hovers with the mouse pointer over a menu item with rel set to 'menu-elem', the class causes that item's sub-menu (all the items with rel set to 'menu-show') to be displayed. Note that menu items with the sub-menus are displayed only for hotels, provided that the place data include links to providers of booking facilities.

new nokia.places.modules.Menu(params)
Parameters:
{Object} params
An initialization object that can include parameters defined for nokia.places.modules.Module

Copyright © 2011 Nokia. All rights reserved. Terms and Conditions