Board18SnapMap

From BOARD18 Project WIKI
Revision as of 10:53, 11 December 2015 by Rich (talk | contribs) (complete rewrite)
Jump to navigation Jump to search
This page has been updated to comply with Release 1.3.x of BOARD18. Go Back

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

Function hideShow()

The hideShow function will hide or show tiles on the map of the board18SnapMap page.

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 leftMenuEvent(key)

This function handles the selection of the leftMenu(Tray) and displays the proper BD18.tray.

Function makeMenus()

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

Function delayCheckForUpdate()

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