Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 572 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 572 Bytes

eastergames

A small Easter games for marketing.

How to setup this game

You only need to set up keywords and summary.

  1. js/easter.js
  • Setup the keyword field in data.
  • title and text is used for summary after all the keywords are found.
  1. index.html
  • You need to manually add the effect <span onclick="fly(this)"> in front of every keyword in the article, and its close tag </span> after the keyword.

Known problems (patches welcome!)

  • Keyword is not case insensitive
  • Long keyword would make effects a bit crowded (locking user...)

Enjoy it!