码迷,mamicode.com
首页 > 其他好文 > 详细

一些flash和页面效果

时间:2017-04-25 09:59:16      阅读:273      评论:0      收藏:0      [点我收藏+]

标签:access   play   position   more   hid   write   cti   viewer   jquer   

人形时钟

<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">

 

百度分享代码(浮窗)

<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>

更多分享代码:share.baidu.com

 

IP地址代码

站长之家

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

 

搜狐接口

<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> 
<script type="text/javascript"> 
document.write(returnCitySN["cip"]+,+returnCitySN["cname"]) 
</script>

 

1616

<script src="http://w.1616.net/chaxun/iptolocal.php"></script>
<script>console.log(WData)</script>

 

126

<script src="http://ip.ws.126.net/ipquery"></script>
<script>console.log(lo);console.log(lc);</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>

 

雪花效果

<script>
(function($){$.fn.snow=function(options){var $flake=$(<div id="flake" />).css({position:absolute,top:-50px}).html(&#10052;),documentHeight=$(document).height(),documentWidth=$(document).width(),defaults={minSize:10,maxSize:20,newOn:500,flakeColor:"#FFFFFF"},options=$.extend({},defaults,options);var interval=setInterval(function(){var startPositionLeft=Math.random()*documentWidth-100,startOpacity=0.5+Math.random(),sizeFlake=options.minSize+Math.random()*options.maxSize,endPositionTop=documentHeight-40,endPositionLeft=startPositionLeft-100+Math.random()*200,durationFall=documentHeight*10+Math.random()*5000;$flake.clone().appendTo(body).css({left:startPositionLeft,opacity:startOpacity,font-size:sizeFlake,color:options.flakeColor}).animate({top:endPositionTop,left:endPositionLeft,opacity:0.2},durationFall,linear,function(){$(this).remove()});},options.newOn);};})(jQuery);
$.fn.snow({ minSize: 5, maxSize: 50, newOn: 1000, flakeColor: #FFF });
</script>

 

一些flash和页面效果

标签:access   play   position   more   hid   write   cti   viewer   jquer   

原文地址:http://www.cnblogs.com/jiaoxuanwen/p/6760024.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!