Board18SnapMap

From BOARD18 Project WIKI
Revision as of 15:12, 20 July 2015 by Rich (talk | contribs) (initial contents for this page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The board18SnapMap.js file contains all the functions that respond to various onclick events on the game board in the SnapMap page and on the main and tray menues. But note that right click events are not used on snapshot displays.

Function registerMainMenu()

The registerMainMenu function creates the main menu on the board18SnapMap page. It uses the jquery context menu plugin.

Function makeTrayItems()

The makeTrayItems function will use the BD18.trays array to construct the items to be displayed in the tray menu.

Function registerTrayMenu()

The registerTrayMenu function creates the tray menu on the board18SnapMap page. It uses the jquery context menu plugin and the makeTrayItems function.

Function makeMenus()

This makeMenus function is a stub to make board18SnapMap compatable with board18Map2.js

Function delayCheckForUpdate()

This delayCheckForUpdate function is a stub to make board18SnapMap compatable with board18Map2.js