Skip to content

fweng322/eastergames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

A small Easter games for marketing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •