装饰博客的一些小部件的代码

人形时钟

<div height="120" width="150" align="center"><embed height="120" width="150" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://chabudai.sakura.ne.jp/blogparts/honehoneclock/honehone_clock_wh.swf" quality="high" autostart="1" wmode="transparent"></div>

 

小仓鼠

<embed type="application/x-shockwave-flash" src="http://cdn.abowman.com/widgets/hamster/hamster.swf" width="250" height="210" id="flashID" name="flashID" bgcolor="#FFFFFF" quality="high" flashvars="up_backgroundColor=FFFFFF" wmode="opaque" allowscriptaccess="always">

还有其他一些好玩的可以在abowman的网站上找到(http://abowman.com/google-modules/)

虽然这些都是flash动画而在最新的chrome是以h5为默认,但flash还需比较长的一段时间才会被h5所替代。

 

百度分享代码(浮窗)

<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"2","bdPos":"right","bdTop":"100"}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>

更多分享代码可访问http://share.baidu.com/

 

IP地址代码

<script type="text/javascript" src="http://ip.chinaz.com/getip.aspx"></script>

 

flagcounter

<a href="http://s11.flagcounter.com/more/MQy"><img src="http://s11.flagcounter.com/count2/MQy/bg_FFFFFF/txt_000000/border_CCCCCC/columns_2/maxflags_10/viewers_0/labels_0/pageviews_0/flags_0/percent_0/" alt="Flag Counter" border="0"></a>

也可以通过站长之家来统计博客的浏览量/访问量。

 

引用链接:http://www.cnblogs.com/cosyer/p/6249309.html

posted @ 2017-04-05 21:11  Cyril_Wu  阅读(339)  评论(0编辑  收藏  举报