Share an annual meeting lottery and an annual meeting Lottery
1. Background
Because most online lottery programs may collect user information, you can write your own lottery program based on security.
Companies, organizations, schools, classes, and Other Group Annual Meeting lottery procedures are essential. Download it now ~
Respect Original, need 1 points: http://download.csdn.net/detail/supermarss/8426547
The most important thing is that you do not need to install it, and you do not need to install it across platforms)
2. Program Interface
Main Interface (the front-end has not been written for a long time. If you do not like this style, you can modify it yourself ~) :
There is a dynamic refresh layer on the left, and the employee ID will be refreshed quickly. The host can select lucky participants here. (This employee is deleted after one participation and will not appear again next time)
The right side is a 4x4 gongge with 16 target images. After Lucky employees select the target image, they will randomly select an item. (Once selected, the corresponding item will be reduced by 1)
3. configuration program
Program directory Description: (Program scalability is still dropping, open-source security)
Index.html: main page of the program
Index_getGoods.html: select only
Index_getPeople.html: select only objects
Conf: configuration program, Party participants and items
Css: Program style, appearance, configurable for development
Images: stores the image of the Party's items, which can be replaced by the image name.
Js: Program Logic Control, development can write other Lottery Logic
You need to configure two items (according to the rule, it is OK ):
Rewarded items: the former is the item name, and the latter is the number of items.
Configure the participating User: the user name can be used to indicate the user's number.
4. download it.
Http://download.csdn.net/detail/supermarss/8426547