<HTML xmlns="http://www.w3.org/1999/xhtml">
  <HEAD>
 
<STYLE type=text/css> 
 
A IMG {
BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px
}
 #header {
MARGIN-BOTTOM: 7px

</STYLE><SCRIPT type=text/javascript>
if (screen.width>=1280){document.write("<style type='text/css'>.w{width:1200px;}.middle{width:766px;}.right-extra{width:983px;}#search{width:332px;padding:1px;}#i-search{width:257px;}#tie{width:257px;}#tie li{width:252px;}#key{width:228px;}#btn-search{background:none;}#hotwords{width:410px;}#service dl{width:192px;padding-left:39px;}#service .fore1{padding-left:20px;}#service .fore5{width:200px;}#service ul{padding:15px;}#service li{padding:0 36px;}#madding-1 dl{width:235px;}#madding-1 .p-price{right:50px;}.madding-2 li,.madding-3 li{width:239px;}#newpros .mc{width:766px;}#newpros .mc ul{width:766px;}#newpros li{width:235px;}#slide{width:766px;}#slide ul{width:766px;}#slide li{width:766px;}.special .mc{width:763px;}.special li{width:234px;}#street-recomm .brands{width:758px;}#street-recomm .brands span{width:126px;}</style>");}
</SCRIPT>
 
<SCRIPT type=text/javascript 
src="url/jquery-1.2.6.pack.js"></SCRIPT>
 
 
</HEAD>
<BODY >
 
 
   
     
<DIV id=header >
 
<SCRIPT type=text/javascript>(function(){function showThumb(){$("#header").css({"z-index":10,"position":"relative"}).append("<img id='freefale-thumb' src='http://misc.360buyimg.com/da/book/76x61_20101029.jpg'width='76' height='61' style='position:absolute;top:0;right:0;cursor:pointer;' onclick=\"$(this).hide(function(){$('#freefale').show();})\"/>")}var img,width,height=70,url="http://www.360buy.com/book.html";if(screen.width>=1280){img="http://misc.360buyimg.com/da/book/1200x70_21101029.jpg";width="1200"}else{img="http://misc.360buyimg.com/da/book/980x70_21101029.jpg";width="980"}$("#header").before("<div id='freefale' clstag='homepage|keycount|homepage|freefale' style='width:"+width+"px;height:"+height+"px;margin:8px auto 0;position:relative;'><div style='position:absolute;cursor:pointer;background:#fff;filter:alpha(opacity=0);opacity:0;top:5px;right:15px;width:20px;height:20px;' onclick=\"$('#freefale').slideUp(function(){if ($('#freefale-thumb').length>=1){$('#freefale-thumb').show();}else{showThumb();}})\"></div><a href='"+url+"' target='_blank'><img src='"+img+"' width='"+width+"' height='"+height+"'/></a></div>");setTimeout(function(){$('#freefale').slideUp(function(){showThumb()})},5000)})();</SCRIPT>
</BODY>
</HTML>
谁能帮我把这段代码改成放在任意文件里都可以用?
就是说,改马纯css 或JS样式的,能直接调用的!jquery-1.2.6.pack.js这个文件必须引用!