ã¯ãªãã¯ãããªããªã³ã¯ jdtRunAway.js
Webãµã¤ãã«æ¬ ãããªããã®ã¨ããã°ãä½ãæãã¤ãã¾ããï¼ãã¯ããªã³ã¯ãããªãã§ããããããããããªã³ã¯ããªããã°ä»ã®ãã¼ã¸ã«ç§»åãããã¨ãã§ãã¾ãããã
ãªã³ã¯ãã¯ãªãã¯ãã«ããã£ããâ¦ã¾ããããã§ããããã
ãããªç´ æµãªãã©ã°ã¤ã³ãã¤ãã£ã¦ã¿ã¾ããã
å°å ¥æ¹æ³
1. jQueryã¨jDTLightBoxãèªã¿è¾¼ã
3. å®è¡ãã
$()ã§å¯¾è±¡ã«ããè¦ç´ ãæå®ãã¾ããï¼ãµã³ãã«ã§ã¯ã¢ã³ã«ã¼ã«é©ç¨ãã¦ãã¾ããããã£ã¨ãªãã«ã§ã使ããã¯ãï¼
jQuery(function($) { $('a').jdtRunAway(); });
ãªãã·ã§ã³
ãããããã¨å¤§ä½éããªã
ãªãã·ã§ã³é ç® | å 容 |
---|---|
rate | ã¢ãã¡ã¼ã·ã§ã³ãã¬ã¼ã ã¿ãããªãã®ãå¢ããã¨ãªãããã«ãªãåé¢éããªãã¾ã |
instance | åçºããè·é¢ã¿ãããªãã®ã大ããããã¨ããéãã¾ã |
注æ
ï½±ï¾ï¾ï¾ï¾ ã¤ãã¾ãã¦ããã¼ã
Thanks
ã¢ãã¡ã¼ã·ã§ã³é¨åã®ã½ã¼ã¹ã¯ããã以ä¸ã®è¨äºã§ä½æãã¦ãããã®ãã許å¯ãå¾ã¦è»¢ç¨ãã¦ãã¾ãããããªã°ããªãã©ã°ã¤ã³ã®ããã«ãã快諾ãã¦ããã ããããã¨ããããã¾ãã
jQueryã§ãã¦ã¹ããéããRunAwayFromMouseæ¸ãã¦ã¿ã Part2 | HouseTect, JavaScript Blog
Leave a comment
Trackbacks: 0
- Trackback URL for this entry
- Listed below are links to weblogs that reference
- ã¯ãªãã¯ãããªããªã³ã¯ jdtRunAway.js from 5509
Comments: 3 - Leave a comment
ãã¤ãã楽ããæè¦ããã¦é ãã¦ããã¾ãã
ãã®ãã®ããJSãªãã¨ãHPã§ä½¿ã£ã¦ã¿ãã
ãå°ããã¾ãã
æãã¦ããã ãã¾ããï¼
åå¼·ä¸è¶³ã§ãã¿ã¾ããã
div { position : relative}
img {position : abusolute
top : ââ
ãã}
ã®ããã«åããè¦ç´ imgã«è¦ªdivãããã
ã®ããã«è¦ªdivã«positionããããã£æå®ãã¦
imgãrunawayããããã¨ããã¨
imgãæ¥ã«ã¦ã¤ã³ãã¼ã®å³ä¸ã«ç§»åãã¦
ãã®ä½ç½®ã§runaway ããã¦ãã¾ãã
ä¸è¨ã®æ§ãã¼ã¯ã¢ããã®æãå ã®ä½ç½®ã§æ£å¸¸ã«åå¿ãããã«ã¯
ã©ããããããã®ã§ããããï¼
ãææ°ãããããã¾ãã
liã¨ãæå®ãã¡ããã¨å´©å£ã§ããã
ã§ãé¢ç½ãã§ã
ã¸ãï½ï¼
é¢ç½ãã§ãããèãã¤ããããªãã£ãã§ãï½