Prototype

編寫、設計網頁與程式。

版主: hamu278, 銘仔

版面規則
  • 本版面亦可以討論網頁寄存公司

Prototype

文章bananasims » 2010-07-05, 11:11

代碼: 選擇全部
$$('#siteicons dd:not([class~=current]').each(function(obj, index) {
   obj.observe('mouseenter', function(e) {
      new Effect.Opacity(obj, { from: 0.4, to: 0.99, duration: 0.3 });
   });
});

啱啱寫右上角 icon 啲 script
我發覺 Prototype 係唔可以去 1.0,唔係會自動 remove 個 property :geek:
而家用住 0.99 先,有咩方法 :oops:

* 用咗 Prototype 寫又 load 少個 jQuery
影像.從心 At the heart of the ímage
bananasims
太陽會員
 
文章: 13541
註冊時間: 2005-09-22, 00:00

回到 [B1] 網頁製作、程式編寫與介面設計



誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 23 位訪客

cron