次ä¸ä»£ JavaScript ã©ã¤ãã©ãªãä½ãã¾ãã
å
æ¥ Scriptaculous 1.6.0 ãå
¬éããã¾ããããWeb2.0 å
¨çã®ä»ãScriptaculous ã¯ç¡ãã¦ã¯ãªããªãå¿
é ã©ã¤ãã©ãªã®ä¸ã¤ã¨ãªãã¾ããã
2000å¹´åå¾ãDHTML ã¨äºãããæè¡ãé§ä½¿ããè¦è¦å¹æãé »ç¹ã«ä½¿ã£ã Web ãã¼ã¸ãããè¦ãããã«ãªãã¾ãããå½æã¯ãã£ãºã ãé£ã³è¶ãã¦ãã¢ã¼ãªã¼ãã¸ã§ãªãã£ã¾ã§åºã使ããã¦ããã¨äºã£ã¦ãéè¨ã§ã¯ãªãã§ããããWeb 2.0 ã¯ã¾ã ã¾ã ãã£ãºã ãé£ã³è¶ãã¦ãã¨ã¯äºãã¾ãããããã§ã¢ã¼ãªã¼ãã¸ã§ãªãã£å±¤ã«ãåºã使ãããããã«ãªãã®ã«è²¢ç®ãããã¨ãã¦ããã®ãå®ã¯ Scriptaculous ãªã®ã§ãã以å Ruby on Rails ã®ã¡ã¼ãªã³ã°ãªã¹ãã§ã¯Scriptaculous 㯠Web 2.0 ãªã©ã§ã¯ãªãï¼Blink, Marquee 2.0ã ï¼(æ訳)ãã¤ã¾ã Scriptaculous 㯠Web 2.0 大好ãã¨ããã®ã¼ã¯åããªã©ã¤ãã©ãªã§ã¯ãªãä¸è¬å±¤ã«ãã¢ãã¼ã«ãã大å¤åªããã©ã¤ãã©ãªã§ããã¨ããæå³ã ã¨ã¨ããããã¨ãã§ãã¾ãã
ãããæ®å¿µãªãã JavaScript ããã°ã©ãã«ã¯ç°¡åã«ä½¿ããã¨ãã§ããè¦è¦å¹æ API ãæä¾ãã¦ãã¾ãããã¢ã¼ãªã¼ãã¸ã§ãªãã£å±¤ã使ãã«ã¯é£ããã¨äºããããå¾ã¾ããã
ã¾ã marquee ã¿ã°ã®æç¨æ§ã«ã¤ãã¦ã®è©±ã§ãããæ marquee ã¿ã°ã¯ Firefox ã«ã¯å®è£ ããã¦ãã¾ããã§ããããmarquee ãå©ç¨ãããã¦ã¼ã¶ãå¤ãã£ãããç¾å¨ã¯å®è£ ãããåºã使ãããããã«ãªãã¾ãã*1ã
ããã§ä»å㯠marquee ã¿ã°ãããæ´»ç¨ã§ããããã Scriptaculous ã®è¦è¦å¹æããµãã ãã«å©ç¨ãã Marquee 2.0 ã©ã¤ãã©ãªãä½ãã¾ããã
http://rails2u.com/misc/marquee2.0/ (ãã¢)
http://rails2u.com/misc/marquee2.0/marquee2.0.js (ã½ã¼ã¹ã»Scriptaculous 1.6.0 å¿
é )
ãã®ã©ã¤ãã©ãªãèªã¿è¾¼ãã ãã§ãã¿ããªå¤§å¥½ã marquee ã¿ã°ãããç»æçãªè¦è¦å¹æãçã¿ã訪ããã¦ã¼ã¶ã楽ãã¾ãããã¨ãã§ããã§ããããããã Marquee 2.0 ã¨äºããã¨æãã¾ããæ©éç§ãèªåã®ãã¼ã¸ãrails2u.com ã«é©ç¨ãã¦ã¿ã¾ããã
http://rails2u.com/index2.0.html
ãã®ãããªç°¡åã«è¦è¦å¹æãé©ç¨ã§ããã©ã¤ãã©ãªããä»å¾ã¾ãã¾ãå¢ãã¦ããã¨æãã¾ããã¨ãªã㨠JavaScript ã©ã¤ãã©ãªã ãã§ãéå»èª°ãããããããç´ æ´ããããã¼ã¸ããã
ãã¡ã
ãã®ã»ãããºãã*2ãç°¡åã«ä½ããããã«ãªãããã§ããã
*1:å®éã®èæ¯ã¯éãã¾ããã³ã¡ã³ãæ¬åç §
*2:æè¿ã¯ãªã¹ãã¯ã㧠ãã£ãï¼¥ãµã¤ããä½ããªãããã ã«ã ã¨æãã¾ã ãªã©ãã«ãã³ã¤ã¤ãµã¤ããåºã¦ãã¦ããããã§ããç´ æ´ããããã¨ã§ããã