Difference between revisions of "Board18SnapMrk"
(initial contents for this page) |
(add setUpKeys) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ReleaseNoticeX|2.1|Design_Document_board18SnapMrk_Page}} | |||
The board18SnapMrk.js file contains all the functions that | The board18SnapMrk.js file contains all the functions that | ||
respond to various onclick events on the stock market | respond to various onclick events on the stock market | ||
and on the main and tray menues in the | |||
right click events are not used on | board18SnapMrk page. But note that | ||
right click events are not used on the board18SnapMrk page. | |||
==Function | == Function setUpKeys() == | ||
The | The setUpKeys function performs all of the bind | ||
operations for the keyboard shortcut events. | |||
{| class="wikitable" | |||
|+ Keyboard Shortcuts | |||
!KEY!!Action | |||
|- | |||
|M||Goto Map Board | |||
|- | |||
|G||Return to Game | |||
|- | |||
|S||Return to SnapList | |||
|- | |||
|O||Goto Main Page | |||
|- | |||
|X||Logout | |||
|} | |||
==Function makeTrayItems()== | == Function makeTrayItems() == | ||
The makeTrayItems function will use the | The makeTrayItems function will use the | ||
BD18.trays array to construct the items | BD18.trays array to construct the items | ||
to be displayed in the tray menu. | to be displayed in the tray menu. | ||
==Function registerTrayMenu()== | == Function registerTrayMenu() == | ||
The registerTrayMenu function creates the | The registerTrayMenu function creates the | ||
tray menu on the | tray menu on the board18Map page. It uses | ||
the jquery context menu plugin and the | the jquery context menu plugin and the | ||
makeTrayItems function. | makeTrayItems function. | ||
==Function makeMenus()== | == 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 board18SnapMrk | This makeMenus function is a stub to make board18SnapMrk | ||
compatable with board18Market2. | compatable with board18Market2.php | ||
== Function delayCheckForUpdate() == | |||
This delayCheckForUpdate function is a stub to make | |||
This delayCheckForUpdate function is a stub to make board18SnapMrk | board18SnapMrk compatable with board18Market2.php | ||
compatable with board18Market2. |
Latest revision as of 12:55, 2 June 2016
This page has been updated to comply with Release 2.1.x of BOARD18. | Go Back |
The board18SnapMrk.js file contains all the functions that respond to various onclick events on the stock market and on the main and tray menues in the board18SnapMrk page. But note that right click events are not used on the board18SnapMrk page.
Function setUpKeys()
The setUpKeys function performs all of the bind operations for the keyboard shortcut events.
KEY | Action |
---|---|
M | Goto Map Board |
G | Return to Game |
S | Return to SnapList |
O | Goto Main Page |
X | Logout |
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 board18Map 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 board18SnapMrk compatable with board18Market2.php
Function delayCheckForUpdate()
This delayCheckForUpdate function is a stub to make board18SnapMrk compatable with board18Market2.php