Maison >interface Web >js tutoriel >méthode d'implémentation des effets de clavier logiciel relativement simple de jquery_jquery

méthode d'implémentation des effets de clavier logiciel relativement simple de jquery_jquery

WBOY
WBOYoriginal
2016-05-16 16:08:261106parcourir

L'exemple de cet article décrit la méthode d'implémentation relativement simple des effets spéciaux du clavier logiciel dans jquery. Partagez-le avec tout le monde pour votre référence. La méthode de mise en œuvre spécifique est la suivante :

Le diagramme des effets de fonctionnement est le suivant :

1. Les principales parties du HTML sont les suivantes :

Copier le code Le code est le suivant :
508bd41b179340b54800979b1eff3401
 daacea27283fcc8a7b4e2c253d56958940587128eee8df8f03d0b607fe983014
 154e11a31ba08c62e85c2530c9b8dcf2
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7`54bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e~54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7154bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e!54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7254bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e@54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7354bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e#54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7454bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e$54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7554bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e%54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7654bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e^54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7754bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e&54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7854bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e*54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7954bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e(54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7054bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e)54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7-54bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e_54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7=54bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e 54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  91e7d3694a2d1960a488f166431be53cdeletebed06894275b65c1ab86501b08a632eb
  dbd81b62c71724a2aca2c4ff76f93cectabbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876qbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876wbed06894275b65c1ab86501b08a632eb
  e6097af2d2f5407c6db07595ac24f030ebed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876rbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876tbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876ybed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876ubed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876ibed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876obed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876pbed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7[54bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e{54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7]54bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e}54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  eb5b49b3c7e68108fa085aa1acb021b1bc87d79ac5f92210d33c39fab2eefbd754bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e|54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  412ded0bb768f3df72a4ffa86ac9d848verrouillage des majusculesbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876abed06894275b65c1ab86501b08a632eb
  e6097af2d2f5407c6db07595ac24f030sbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876dbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876fbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876gbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876hbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876jbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876kbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876lbed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72;  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7'54bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e"54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  009065abc7e22b164f1f3dcf2ed50129returnbed06894275b65c1ab86501b08a632eb
  7db2cad37afe5b0ad3147eae9298b74bshiftbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876zbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876xbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876cbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876vbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876bbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876nbed06894275b65c1ab86501b08a632eb
  b70175a7d75899aeb492c79a4ea6e876mbed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7,54bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e<54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7.54bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e>54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  a0b527a5b33bf2c6252bf95cd1676c72bc87d79ac5f92210d33c39fab2eefbd7/54bdf357c58b8a65c66d7c19c8e4d114e6438982935cf93b3d0f7214add0430e?54bdf357c58b8a65c66d7c19c8e4d114bed06894275b65c1ab86501b08a632eb
  7df6b5ab532c675eedcd357a77d40febshiftbed06894275b65c1ab86501b08a632eb
  12b25e3d23c199f988fcb56f2b87187d bed06894275b65c1ab86501b08a632eb
 929d1f5ca49e04fdcb27f9465b944689
16b28748ea4df4d9c2150843fecfba68

2. jQuery 代码部分需要引入两个文件,具体如下:

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/keyboard.js"></script>

完整实例代码点击此处本站下载

希望本文所述对大家的jQuery程序设计有所帮助。

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn