Location:Home > JS special effects code > Selection and screening

jQuery screen unlock plug-in patternLock.js

2020-06-25 233views
The screen unlock is based on HTML, jQuery and CSS, simulating the design of hybrid applications. Unlocking principle, if you want to set your own unlocking password, please compare the nine areas of patternLock Jiugongge to nine numbers from 1-9 as follows. When you click and slide to connect the corresponding areas 1-5-9, it means you get The matched string is "159", and then compare it with the randomly generated standard answer string to get the result. Find pattern.checkForPattern("1235789", function() in the code. The pattern obtained by connecting the number 1235789 is a zigzag, and you can modify it as needed.