いろいろtest中
スポンサードリンク
スポンサードリンク
スポンサードリンク
はてぴゃ!なるものを作ろうと思っていたけどなかなか上手くいかんね...javascriptまったくわからん.
こんなんじゃちょう微妙だしなぁ.私は顔文字をクリックした時にAdd Starされるようにしたいのだが.
気に入った場合は「(゚∀゚)」、ダメポの場合は「(-A-)」をクリックしてください |
自分で調べていて,
http://s.hatena.ne.jp/js/HatenaStar.js
の中の
/* Hatena.Star.AddButton */ Hatena.Star.AddButton = new Ten.Class({ base: ['Hatena.Star.Button'], initialize: function(entry) { this.entry = entry; this.lastPosition = null; var img = Hatena.Star.Button.createButton({ src: Hatena.Star.AddButton.ImgSrc, alt: 'Add Star' }); this.observer = new Ten.Observer(img,'onclick',this,'addStar'); this.img = img; return img; }, ImgSrc: Hatena.Star.BaseURL + 'images/add.gif'
あたりをいじり倒せばどうにかなることは分かったが,id:mzpさんのはてシナーで紹介されている方法じゃIEに対応出来ないシナ・・・.うーんどうすればいいのかさっぱりさっぱり..たすけて!id:edacrow!id:zerosylph!
>