淘氣的送出紐是我去年(2009)於前blog上發佈,
近日有時間,稍微做了一點更正,
因為不只可以用於button標籤上,
也可以用於其他標籤,
所以更正名稱為「標籤淘氣啪啪走」。
主要還是用JQuery所撰寫,
有興趣的朋友可放在自已的Blog上,
讓某個Tag一直跑還滿有趣的。
tags move naughty embed designed for elements on the blog , you let it move naughty, I think it`s interesting.
直接將下列code碼,置入您的Blog中就可以了
just put the code into your blog
<script src="http://www.google.com/jsapi?key=ABQIAAAA1XbMiDxx_BTCY2_FkPh06RRaGTYH6UMl8mADNa0YKuWNNa8VNxQEerTAUcfkyrr6OwBovxn7TDAH5Q"> </script> <script>google.load("jquery", "1");function OnLoad(){ var strList={'felling':['ha','hi','h~','gi','gg','bb'],'word':['wait','give me a second']};//參數strList的felling和word的值可以做更換;you can change the parameter 'strList' for example: ,例如:strList={'felling':['嗨','yes','h~','gi','gg','bb'],'word':['等一下','give me a second']}; $.getScript('http://wolkejqueryplugin.appspot.com/jqWL/WL_DoNaughty.js',function(){ $('#comments').WL_DoNaughty(strList);//#comments為id名稱,請自行更換您所指定的物件;#comments is the object's name by your needed })};google.setOnLoadCallback(OnLoad); </script>
123
回覆刪除