ã¯ããã«
ãããæ°å¹´ãiPhoneãAndroidã¹ãã¼ããã©ã³ãå種ã¿ãã¬ãããåºãæ®åãããã¨ã«ãããWebãã¼ã¸é²è¦§è ã®å¤ããã¹ãã¼ããã©ã³ãã¿ãã¬ããã®UIã«ç¿çãã¦ãããã¨ãæ³å®ããã¾ãããã®ãããã¹ãã¼ããã©ã³ãã¿ãã¬ããã§ç¨ãããã¦ããUIãæä½æãWebãã¼ã¸ã«åãå ¥ãããã¨ã¯ãå©ç¨è ã®ä½¿ãåæãåä¸ãããããæç¨ã§ãã
ãããã§ä»åã¯ãAndroidã§ç¨ãããããã¿ã¼ã³ããã¯ãWebç»é¢ã«è¡¨ç¤ºããPattern Lockãã©ã°ã¤ã³ãç´¹ä»ãã¾ãããã¿ã¼ã³ããã¯ã¯nÃnï¼Androidã®å ´å3Ã3ï¼ã®ç¹ãã¤ãªãé çªã«ãã£ã¦ã¦ã¼ã¶ã¼èªè¨¼ãè¡ãä»çµã¿ã§ãAndroidã§ã¯å³1ã®ããã«ç«¯æ«ã®ããã¯ã解é¤ããæ段ã¨ãã¦ç¨ãããã¾ãã
ããã¿ã¼ã³ããã¯ãWebã«å°å ¥ãããã¨ã§ã以ä¸ã®ãããªèªè¨¼æ段ã¨ãã¦å©ç¨ã§ããããã«ãªãã¾ãã
- ãã°ã¤ã³æã®ãã¹ã¯ã¼ãã¨ãã¦å©ç¨
- IDï¼ãã¹ã¯ã¼ãã«å ãã¦å©ç¨ãã¦ã»ãã¥ãªãã£ãå¼·å
- Webãã¼ã¸ã®è¡¨ç¤ºã«ãã¿ã¼ã³ããã¯ãè¦æ±ï¼æ©æ¢°ã«ããã¯ãã¼ã«ãææ¢ï¼
対象èªè
- Webãã¼ã¸ã«ã¹ãã¼ããã©ã³ã®æä½æãæã¡è¾¼ã¿ããæ¹
- ã¡ãã£ã¨å¤ãã£ãèªè¨¼ãã¼ã¸ãæä¾ãããæ¹
- ãã¼ãã¼ãå ¥åãªãã§ï¼ãã¦ã¹ãã¿ããã ãã§ï¼èªè¨¼ããããæ¹
å¿ è¦ãªç°å¢
ãjQueryã«ã¯1.xç³»ã¨2.xç³»ãåå¨ãã2.xç³»ã¯Internet Explorer 6ï½8ã¨ã®äºææ§ãåãæ¨ã¦ããã¨ã§ã³ã¼ããµã¤ãºã縮å°ãã¦ãã¾ããä»åã¯äºææ§ãèæ ®ãã¦ã1.xç³»ã®ææ°çã§ããjQuery 1.11.1ã使ç¨ãã¾ãã
ãä»åã¯ä»¥ä¸ã®ç°å¢ã§åä½ã確èªãã¦ãã¾ãã
-
Windows 7 64bitç
- Internet Explorer 11
Pattern Lockãã©ã°ã¤ã³ã§ãã¿ã¼ã³ããã¯ã表示
ãPattern Lockã¯ãå ¬å¼ãµã¤ãããMITã©ã¤ã»ã³ã¹ã§é å¸ããã¦ãã¾ããå©ç¨ããã«ã¯ãã¦ã³ãã¼ããã¡ã¤ã«ã«å«ã¾ããCSSãã¡ã¤ã«ï¼patternLock.cssï¼ã¨JavaScriptãã¡ã¤ã«ï¼patternLock.jsã¾ãã¯patternLock.min.jsï¼ãHTMLãã¡ã¤ã«ããåç §ããããè¨è¿°ãã¾ãã
ãPattern Lockã§ãã¿ã¼ã³ããã¯ã表示ããä¾ããªã¹ã1ã«ç¤ºãã¾ãã
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <!-- jQueryã®èªè¾¼ --> <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> <!-- Pattern Lockã®èªè¾¼ ... ï¼1ï¼ --> <link href="js/patternLock/patternLock.css" rel="stylesheet" type="text/css" /> <script src="js/patternLock/patternLock.min.js"></script> <script> $(function() { // Pattern Lockã®è¨å® ...ï¼2ï¼ var lock = new PatternLock("#patternLock1"); }); </script> <title>Pattern Lock ãµã³ãã«1</title> </head> <body> <h1>Pattern Lock ãµã³ãã«1</h1> <!-- ãã¿ã¼ã³ããã¯ã表示ããè¦ç´ ... ï¼3ï¼ --> <div id="patternLock1"></div> </body> </html>
ãï¼1ï¼ã§Pattern Lockã®CSSãã¡ã¤ã«ã¨JavaScriptãã¡ã¤ã«ãèªã¿è¾¼ãã§ãã¾ãããã¿ã¼ã³ããã¯ã表示ããè¦ç´ ï¼3ï¼ã«å¯¾ãã¦ãï¼2ï¼ã®å®è£ ã§ãã¿ã¼ã³ããã¯ã表示ããããå¦çãã¦ãã¾ãã
ããªã¹ã1ãå®è¡ããã¨ãAndroidã¹ãã¼ããã©ã³ã®ãããªãã¿ã¼ã³ããã¯ãWebãã¼ã¸ã«è¡¨ç¤ºããã¾ãã