2007-07-01ãã1ã¶æéã®è¨äºä¸è¦§
è¦å´ããã®ã§ã¡ã¢ãid:ryu00026ããã®ãããã§ç¡äºè§£æ±ºãunpackãã£ããå¿ãã¦ã¾ããããã£ã¨ããã°ã©ãã³ã°è¨èª Ruby ãªãã¡ã¬ã³ã¹ããã¥ã¢ã«ãããã調ã¹ã¦ã¾ãããorz irb(main):021:0> p "ãããaaa".unpack("U*").map{|c| c<256?[c].pack("U"):"&#x%x;"â¦
setTimeoutãsetIntervalã§é¢æ°ãå®è¡ããã¨throwãããå¤ããã£ããã§ããªããããã§ä¸è¨ã®ããã«é¢æ°ãä¸æ¸ãããã ãã§throwããã£ããã§ããã(console.error㯠javascriptã®ãããã¯æ¹æ³ã«ä¾åããã®ã§ã好ã¿ã®ã³ã¼ãã«ç½®ãæãã¦ä½¿ãã°OK) 使ãæ¹ catcâ¦
ã©ã¼ã§ããããã¨ã ãã©ãAjaxé¢é£ã®ããã°ã¨ãããããè¦ã¦ãã¨ä¸è¨ã®ããã«ãtry/catchã®ãã¹ãããã³ã¼ããè¯ãè¦ããããã©è¦ãæããã¹ãããªããªãã var createXMLHttpRequest = function(){ if(window.XMLHttpRequest){ return new XMLHttpRequest()â¦
å®è£ å´ã§ã¯é常ã«è¦å´ãã¾ããã使ãåæã¯æ群ãããããnewæ¼ç®åã使ã£ã¦ã¤ã³ã¹ã¿ã³ã¹çæãããªãã¦ãé¢æ°ã®æ»ãå¤ã¨ãã¦ãªãã¸ã§ã¯ãã使ããã¯ããã¯ã§ããä¾ã使ã£ã¦èª¬æãã¾ãã以ä¸ã¯DOMã®æä½ã§è¦ç´ ãåé¤ããæ¹æ³ã§ãã æ®éã®æ¹æ³ var elem = doâ¦
ã©ããã§ä¼¼ããããªã¨ã³ããªã¼ãè¦ããããã©è¦ã¤ãããªãã®ã§èªä½ãã¦ã¿ããåé¡ãå¤ãå®ç¨çãããªãã®ã§æ³¨æIE7,Firefox2,Safari2,Opera9.20ã§ç¢ºèªãã¦åãã¦ãã®ã§å®ç¨ã§ä½¿ã£ã¦ã大ä¸å¤«ã HTMLãªã¼ãä¸ã«javascriptã解éããããã¨ãæ³å®ã㦠ä¸è¨ã®ã³â¦
å ææ«ã«DSããã³ã¸å²ãã§å£ã¦ã¾ãããã¨ããããåãåãããã¨ãããéã£ã¦ãããã¨ã®ãã¨ã§éã£ã¦ç´ï¼é±éãä¿®çãã帰ã£ã¦ãã¾ããï¼ã£ã¨æã£ããæ°åã«ãªã£ã¦ã¾ããããããç¡æ(ä¿è¨¼æéåã)ã ã£ãã任天å ã¹ã²ã¼ãã¯ã¬ã¼ã 対å¿å®ç§ã ã ããã¦iPod nâ¦
è½ã¨ãç©´è½ã¡ããã«ãªã£ãã®ã§ã¡ã¢ãJavaScriptã«ã¯ããªããã£ãã¨ã°ãã¼ãã«ã»ãªãã¸ã§ã¯ã(Global Objects)ããã£ã¦ããªããã£ãã«ã¯ã ãããã©ããã¨ãªãã¯ã©ã¹ããã. Stringã¯ããªããã£ãããã Javaã ã¨ãªãã©ã«ã§ããæååã§ãStringã®ãªãã¸ã§ã¯ãâ¦
prototype.jsããjQueryã«åãæ¿ãã¦jQueryãè¯ãåºæ¥ã¦ãããã¨ã«ããã¯ãªãã¾ãããåå空éã¯æ±ããªããç´æçã«åºæ¥ã¦ã¨ã¦ã便å©ï¼ã£ã§ãã¤ã³ã¹ãã¤ã¢(ä¸åº¦è¨ã£ã¦ã¿ããã£ã)ããã¦ã«ãæãã®ã©ã¤ãã©ãªå®è£ æ¹æ³ãèãã¦ã¿ãã 7/5 ãã°ã£ã¦ãã®ã§ä¿®æ£ãâ¦
zindexã®æ大å¤ãåã£ã¦ããé¢æ°ãä½ã£ã¦ã¿ãã ã¨ããããã¢ãã³ãã©ã¦ã¶ã¯å ¨ã¦åãã¦ã¾ããã(IE7/Safari2-3/Firefox2/Opera9/NN7) ã³ã¼ã var getLargestZIndex = function(){ var largestZIndex = 0; var defaultView = document.defaultView; var func â¦