求百度知道的这个飘雪的js javascript代码要如何写?还有css,反正谁知道这个好看的效果如何做出来?

html-css018

求百度知道的这个飘雪的js javascript代码要如何写?还有css,反正谁知道这个好看的效果如何做出来?,第1张

<script type="text/javascript" >

var customizedHeight = 0var aw_snow_jssrc = '%3Cscript type="text/javascript"'aw_snow_jssrc += ' src="http://vosforever.app'aw_snow_jssrc += 'spot.com/static/snow.js"%3E%3C/script%3E'document.write(unescape(aw_snow_jssrc))</script>

修改这个值来确定雪停留的位置 customizedHeight = 0 0表示停在最下边

body{background:#aaaaaa}body {background:url(

)background-repeat: no-repeatbackground-position: centerbackground-attachment:fixed}/*定义背景图片*/a:hover{CURSOR:url('http://www.mydeskcity.com/QTZY/GIF/gif_icon/121.gif')} BODY {(CURSOR: url('http://www.mydeskcity.com/QTZY/GIF/gif_icon/210.gif')}/*body{CURSOR: url(http://imgcache.qq.com/qzone/space_item/orig/14/3390.ani)}定义鼠标*/ #m_blog{scrollbar-face-color: #E100E1 scrollbar-shadow-color: maroon scrollbar-highlight-color: white scrollbar-3dlight-color: #E100E1 scrollbar-darkshadow-color:#E100E1 scrollbar-arrow-color:#E100E1 scrollbar-base-color: #E100E1 scrollbar-track-color: #E100E1 overflow-y:autoheight:1500px filter: chroma(color=#E100E1)} #header {height:280pxbackground:url(

" target="_blank" >

)}#header div.tit{top:8pxleft:20pxline-height:52pxfont-size:50pxfont-family:方正舒体}#header div.tit a.titlink{color:#FFFFFFtext-decoration:none}#header div.tit a.titlink:visited{color:#FFFFFFtext-decoration:none}#header div.desc{width:600pxtop:60pxleft:58pxline-height:30pxfont-size:20pxfont-family:楷体FILTER:Glow(Color=#33ADFF,Strength=3) Shadow(Color=#003355,Direction=180)color:#FFFline-height:150%)}/*空间简介字体格式*/#tabline{top:89pxwidth:100pxlife:100line-height:55pxbackground:url(

) }/*菜单下方的横线*/#tab{top:225pxpadding-left:280px!importantbackground:url(

)}/*定义菜单的位置和背景图片*/#tab a.on,#tab a.on:link,#tab a.on:visited{line-height:22pxcolor:#FFFfont-size:14pxfont-weight:boldfont-family:楷体FILTER:Glow(Color=#33ADFF,Strength=3) Shadow(Color=#003355,Direction=180)}#tab span{display:none}#tab a:link{color:#00DDDDtext-decoration:nonefont-size:14pxfont-weight:bold}#tab a:visited{color:#DDF8FFtext-decoration:nonefont-size:14pxfont-weight:bold}/*菜单选中状态*/#tab2{background:#}#tab2 span{color:#FFFFFFfont-size:12pxfont-weight:bold}#tab2 a{font-size:12px}#tab2 a:link{color:#0000CC}#tab2 a:visited{color:#0000CC}.stage {background:url(

" target="_blank" >

)}/*主体背景图片飘雪*/#comm_info div.line{margin-top:5pxline-height:8pxborder-top:1px solid #D2E9F4} #comm_info a{color:#ccff00}#comm_info{overflow: hiddenheight:84color: #44FF44font-family:Arialtext-align:left}#page{color:#CC99FFheight:30pxfont-size:14pxfont-family:Arialtext-align:center}#page span{padding:3pxcolor:#000000font-size:14pxfont-weight:bold}#page a.pc{color:#3399CCfont-size:14pxfont-weight:bold}#page a.pc:visited{color:#3399CC}#page a.pi{padding:3pxcolor:#3399CCfont-size:14px}#page a.pi:visited{color:#3399CC}/*#mod_bgmusic{display:none}如何隐藏播放器*/.mod{margin-bottom:10px}.modhandle{cursor:move}.modth{height:24px}.modhead{padding:4px 4px 0 4px}.modopt{padding:4px 4px 0 0}.modtit{color:#aaddfffont-size:12pxfont-weight:bold}a.modtit{color:#aaddff}a.modtit:visited{color:#aaddff}.modtitlink{color:#aaddfffont-size:12pxfont-weight:bold}a.modtitlink{color:#aaddfftext-decoration:none}a.modtitlink:visited{color:#aaddfftext-decoration:none}a.modtitlink:hover{color:#aaddfftext-decoration:none}/*模块标题区*/.modact{color:#FFFFFFfont-size:12px}a.modact:link{color:#FFFFFF}a.modact:visited{color:#FFFFFF}.modbox {PADDING-RIGHT: 10pxPADDING-LEFT: 10pxBACKGROUND: none transparent scroll repeat 0% 0%PADDING-BOTTOM: 0pxPADDING-TOP: 10px}.modtl {BACKGROUND: url(http://img.baidu.com/hi/temp21/dot.gif) no-repeatWIDTH: 120pxline-height:50pxTOP: 1px}/*模块左上角背景*/.modtc {BACKGROUND: url(http://img.baidu.com/hi/temp21/dot.gif/*

http://file.sayclub.co.kr/charimg/item_real2/a_s_01_1960_01_00.gif*/) no-repeat}/*模块中上角背景*/.modtr {}/*模块右上角背景*/.modbl {LINE-HEIGHT: 1px}/*模块左下角背景*/.modbc {LINE-HEIGHT: 1px}/*模块中下角背景*/.modbr { LINE-HEIGHT: 1px}/*模块右下角背景*/#m_blog div.tit{font-size:14pxfont-weight:bold}#m_blog div.tit a{color:#1A991Efont-size:14pxfont-weight:bold}#m_blog div.tit a:visited{color:#1A991E}#m_blog div.date{margin:5px 0 8px 0color:#999999}#m_blog div.cnt{color:#FF0033line-height:20pxfont-size:14px}/*文章内容*/#m_blog div.more{margin:14px 0 16px 0}#m_blog div.more a{color:#1A991Efont-size:14px}#m_blog div.more a:visited{color:#1A991E}#m_blog div.opt{color:#999999font-size:12px}#m_blog div.opt a{color:#1A991Efont-size:12px}#m_blog div.opt a:visited{color:#1A991E}#m_blog div.line{margin-top:17pxline-height:17pxborder-top:1px solid #ECECEC}#m_blog div.none{padding:100px 0 100px 0color:#666666font-size:14px}#m_pro a{color:#1A991E}#m_pro a:visited{color:#1A991E}#m_pro div.image{text-align:center}#m_pro div.act{margin-top:10px}#m_pro div.user{margin-top:10pxcolor:#666666font-size:12pxfont-weight:bold}#m_pro div.desc{color:#666666font-size:12px}#m_pro div.line{margin-top:17pxline-height:17pxborder-top:1px solid #ECECEC}#m_pro td{color:#666666line-height:24pxfont-size:14px}#m_album div.image{text-align:center}#m_album div.page{color:#666666font-size:12pxtext-align:center}#m_album div.page a{color:#0000CCfont-size:12px}#m_album div.page a:visited{color:#0000CC}#m_links div.item{color:#666666font-size:12px}#m_links div.item a{color:#1A991Efont-size:12pxtext-decoration:none}#m_links div.item a:visited{color:#1A991E}#m_links div.line{margin-top:5pxline-height:8pxborder-top:1px solid #ECECEC}#m_artclg div.item{color:#666666font-size:12px}#m_artclg div.item a{color:#1A991Efont-size:12px}#m_artclg div.item a:visited{color:#1A991E}#m_artclg div.line{margin-top:5pxline-height:8pxborder-top:1px solid #ECECEC}#m_comment div.item{color:#666666font-size:12px}#m_comment div.item a{color:#1A991Efont-size:12px}#m_comment div.item a:visited{color:#1A991E}#m_comment div.item a.cnt{color:#0000FFfont-size:12pxtext-decoration:none}/*评论摘要*/#m_comment div.item a.cnt:visited{color:#666666text-decoration:none}#m_comment div.item a.cnt:hover{color:#666666text-decoration:underline}#m_comment div.line{margin-top:5pxline-height:8pxborder-top:1px solid #ECECEC}#m_albumlist div.note{color:#666666font-size:14px}#m_albumlist div.desc{margin-bottom:12pxpadding:3px 10px 3px 10pxline-height:22pxbackground-color:#F2F2F2font-size:14px}#m_albumlist div.none{padding:100px 0 100px 0color:#666666font-size:14px}#m_albumlist div.line{margin-top:10pxline-height:16pxborder-top:1px solid #ECECEC}#m_albumlist div.tit{margin:6px 0 7px 0color:#666666font-size:14px}#m_albumlist div.tit a{color:#1A991Efont-size:14px}#m_albumlist div.tit a:visited{color:#1A991E}#m_albumlist span.count{color:#666666font-size:12pxfont-weight:bold}#m_albumlist span.size{color:#999999font-size:12pxfont-family:Arial}#m_albumlist a.act{color:#1A991Efont-size:12px}#m_albumlist a.act:visited{color:#1A991E}#m_albumlist a.page{color:#0000CCfont-size:14px}#m_albumlist a.page:visited{color:#0000CC}#m_albumlist td.image{padding:5pxborder:1px solid #999999background:#FFFFFF}#m_friend div.filter{margin-bottom:10pxpadding-left:10pxpadding-top:10pxheight:27pxline-height:27px}#m_friend div.catalog{margin-bottom:10pxpadding-left:10pxheight:27pxline-height:27pxbackground-color:#F2F2F2font-size:14px}#m_friend div.user{margin-top:4pxcolor:#666666font-size:12px}#m_friend div.user a{color:#1A991Efont-size:12px}#m_friend div.user a:visited{color:#1A991E}#m_friend div.line{margin-top:10pxline-height:16pxborder-top:1px solid #ECECEC}#m_setting a{color:#1A991E}#m_setting a:visited{color:#1A991E}#m_setting{line-height:22pxcolor:#666666font-size:14px}#m_setting img.sel{border:4px solid #FFDB7B}#m_setting img.unsel{border:1px solid #D2D2D2}#m_setting span.tit{font-size:14px}#m_setting span.usr{color:#666666}#m_setting div.sel{padding-top:6pxfont-size:14pxfont-weight:bold}#m_setting div.line{margin-top:20pxline-height:16pxborder-top:1px solid #ECECEC}#m_sysinfo a{color:#1A991E}#m_sysinfo a:visited{color:#1A991E}#m_sysinfo{line-height:22pxcolor:#666666font-size:14px}#m_sysinfo span.new{color:#FF0000font-size:10pxfont-family:Arial}#m_sysinfo span.date{color:#666666font-size:14px}#m_setbase{color:#666666font-size:14px}#m_setbase td{color:#666666font-size:14px}#m_setbase div.line{margin-top:5pxline-height:8pxborder-top:1px solid #ECECEC}#in_comment{width:710px}#in_comment div.tit{margin-bottom:12pxcolor:#666666font-size:14pxfont-weight:bold}#in_comment div.user{margin-bottom:6pxcolor:#666666font-size:12px}#in_comment div.user a{color:#1A991Efont-size:12px}#in_comment div.user a:visited{color:#1A991E}#in_comment div.user span.date{color:#666666font-size:12px}#in_comment div.desc{color:#666666font-size:12px}#in_comment div.line{margin-top:17pxline-height:17pxborder-top:1px solid #ECECEC}#in_send div.tit{margin:10px 0 10px 0color:#666666font-size:14pxfont-weight:bold}#tabline{margin-top:22pxright:-431pxline-height:8pxbackground:url(http://counter.skywebhosting.com/cgi-bin/Count.cgi?display=clock&tformat=12&timezone=GMT+0800&ft=3&tr=y&negate=y) no-repeat bottompadding-bottom: 40pxmargin-bottom: 10px}是阿姨,谢谢!!

你说的这个http://imgfree.21cn.com/free/flash/68.swf 是加不上去了,不过我可以给你一个顶部飘雪的CSS,加在空间空白处:#header DIV.rc {BACKGROUND: url(

)left:40pxbottotop150pxwidth:890pxrepeat-y:repeat-x: height: 200px}