站长资源网络编程

使用Flash DownLoad编写采集器(之突破防盗连下载音乐文件)第1/4页

整理:jimmy2026/7/29浏览2
简介 </div> <div class="news_infos"><div id="MyContent"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <BR><html> <BR><head> <BR><meta http-equiv="Content-Type" content="text/html; charset=gbk"> <BR><title>Flash DownLoad 下载控件示例</title> <BR><meta name="MSSmartTagsPreventParsing" content="TRUE"> <BR><meta http-equiv="MSThemeCompatible" content="Yes"> <BR><style type="text/css"> <BR>body { <BR>scrollbar-base-color: #F5FBFF; <BR>scrollbar-arrow-color: #86B9D6; <BR>font: 12px Tahoma, Verdana; <BR>background-color: #FFFFFF; <BR>color: #333333; <BR>} <BR>table { <BR>font: 12px Tahoma, Verdana; <BR>color: #333333; <BR>empty-cells: show; <BR>border-collapse: separate !important; <BR>border-collapse: collapse; <BR>} <BR>input, select, textarea { <BR>font: 12px Tahoma, Verdana; <BR>color: #333333; <BR>font-weight: normal; <BR>background-color: #F5FBFF; <BR>border: 1px solid #7AC4EA; <BR>} <BR>input { <BR>height: 21px; <BR>} <BR>a { <BR>text-decoration: none; <BR>color: #154BA0; <BR>} <BR>a:hover { <BR>text-decoration: underline; <BR>} <BR>.checkbox, .radio { <BR>border: 0px; <BR>background: none; <BR>vertical-align: middle; <BR>height: 16px; <BR>} <BR></style> <BR></head> <BR><BODY> <BR><Script Language="JavaScript"> <BR>/******************************************************** <BR>* ProgressBar class <BR>* @author null <BR>* @param width - width of progress bar <BR>* @param height - height of progress bar <BR>* @param fgColor - fgColor of progress bar <BR>* @param bgColor - bgColor of progress bar <BR>* @param borderColor - borderColor of progress bar <BR>          the rule is the same border-color of CSS <BR>/********************************************************/ <BR>function ProgressBar(width,height,fgColor,bgColor,borderColor){ <br><br>  if(borderColor==undefined){ <BR>    bgColor = "threedlightshadow"; <BR>    fgColor = "highlight"; <BR>    borderColor =  "buttonshadow window window buttonshadow"; <BR>  } <BR>  else if(borderColor==undefined&&fgColor==undefined&&bgColor==undefined){ <BR>    bgColor = "threedlightshadow"; <BR>    fgColor = "highlight"; <BR>    borderColor =  "buttonshadow window window buttonshadow"; <BR>  } <br><br>  percent  = 0.0; //initialize to zero <BR>  fontSize = Math.ceil(height/2)+1; <br><br>  font_bt = "<table width=100% height=100% cellpadding=0 cellspacing=0 style='font:bold "+fontSize+"px Arial;color:"+bgColor+";text-align:center;vertical-align:center;'><tr><td>"+parseInt(percent*100)+" %</td></tr></table>"; <BR>  font_ft = "<table width=100% height=100% cellpadding=0 cellspacing=0 style='font:bold "+fontSize+"px Arial;color:"+fgColor+";text-align:center;vertical-align:center;'><tr><td>"+parseInt(percent*100)+" %</td></tr></table>"; <br><br>  squares = ""; <BR>  for(var i=0;;i++){ <BR>    var left = width-2-i*(height/2+1); <BR>    //alert(left); <BR>    if(left>=height/2+1){ <BR>      squares += "<span style='background-color:"+fgColor+";width:"+height/2+"px;height:"+(height-2)+";margin-right:1px;'></span>"; <BR>    } <BR>    else if(left>=1){ <BR>      squares += "<span style='background-color:"+fgColor+";width:"+left+"px;height:"+(height-2)+";margin:0px;'></span>"; <BR>    } <BR>    else <BR>      break; <BR>  } <br><br>  //position:absolute; <BR>  str  = "<span id=progress_bg style='width:"+width+"px;height:"+height+"px;background-color:"+bgColor+";border:1px solid;border-color:"+borderColor+"'>"; //"+fgColor+" #transparent <BR>  str += "  <span id=progress_fg style='position:absolute;width:100%;height:100%;clip:rect(0,"+parseInt(percent*100)+"%,100%,0);background-color:"+fgColor+";font-size:0px;line-height:0px;'>"; <BR>  str +=      squares; <BR>  str += "  </span>"; <BR>  str += "  <span id=progress_bt style='position:absolute;z-index:8;width:100%;height:100%;background-color:#transparent;clip:rect(0,"+parseInt(percent*100)+"%,100%,0);text-align:center;'>"; <BR>  str +=      font_bt; <BR>  str += "  </span>"; <BR>  str += "  <span id=progress_ft style='position:absolute;z-index:9;width:100%;height:100%;background-color:#transparent;clip:rect(0,100%,100%,"+parseInt(percent*100)+"%);text-align:center;'>"; <BR>  str +=      font_ft; <BR>  str += "  </span>"; <BR>  str += "</span>"; <br><br>  document.write(str); <BR> <strong>1</strong>234下一页阅读全文</div> </div> </div> <div class="share"> </div> <div class="nextinfo"> <p>上一篇:<a href="/3g/1/161767.html" title="验证码识别技术">验证码识别技术</a></p> <p>下一篇:<a href="/3g/1/161769.html" title="后台管理登录篇-asp设计与数据库">后台管理登录篇-asp设计与数据库</a></p> </div> <div class="otherlink"> <h2>最新资源</h2> <ul> <li><a href="/3g/1/623703.html" title="群星《奔赴!万人现场 第2期》[FLAC/分轨]">群星《奔赴!万人现场 第2期》[FLAC/分轨]</a></li> <li><a href="/3g/1/623702.html" title="群星《奇妙浪一夏 (上海迪士尼度假区音乐">群星《奇妙浪一夏 (上海迪士尼度假区音乐</a></li> <li><a href="/3g/1/623701.html" title="群星《奇妙浪一夏 (上海迪士尼度假区音乐">群星《奇妙浪一夏 (上海迪士尼度假区音乐</a></li> <li><a href="/3g/1/623700.html" title="【古典音乐】詹姆斯·高威《季节》1993[WA">【古典音乐】詹姆斯·高威《季节》1993[WA</a></li> <li><a href="/3g/1/623699.html" title="贝拉芳蒂《卡里普索之王》SACD[WAV+CUE]">贝拉芳蒂《卡里普索之王》SACD[WAV+CUE]</a></li> <li><a href="/3g/1/623698.html" title="小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE">小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE</a></li> <li><a href="/3g/1/623697.html" title="群星《欢迎来到我身边 电影原声专辑》[32">群星《欢迎来到我身边 电影原声专辑》[32</a></li> <li><a href="/3g/1/623696.html" title="群星《欢迎来到我身边 电影原声专辑》[FL">群星《欢迎来到我身边 电影原声专辑》[FL</a></li> <li><a href="/3g/1/623695.html" title="雷婷《梦里蓝天HQⅡ》 2023头版限量编号低">雷婷《梦里蓝天HQⅡ》 2023头版限量编号低</a></li> <li><a href="/3g/1/623694.html" title="群星《2024好听新歌42》AI调整音效【WAV分">群星《2024好听新歌42》AI调整音效【WAV分</a></li> </ul> </div> </div> <div class="sidebar"> </div> <div class="sidebar"> 友情链接:<a href="http://www.imxmx.com/" title="杰晶网络" target="_blank">杰晶网络</a> <a href="/" title="DDR爱好者之家" target="_blank">DDR爱好者之家</a> <a href="http://www.nqxw.com/" title="南强小屋" target="_blank">南强小屋</a> <a href="http://www.paidiu.com/" title="黑松山资源网" target="_blank">黑松山资源网</a> <a href="http://www.dyhadc.com/" title="白云城资源网" target="_blank">白云城资源网</a> <a href="/sitemap1.xml">站点地图</a> <a href="/sitemap.xml">SiteMap</a> </div> </article> <footer> <p>Design by <a href="http://m.ddrfans.com">DDR爱好者之家</a> <a href="http://m.ddrfans.com">http://m.ddrfans.com</a></p> </footer> <script src="/images3g/nav.js"></script> <script type="text/javascript"> jQuery.noConflict(); jQuery(function() { var elm = jQuery('#left_flow2'); var startPos = jQuery(elm).offset().top; jQuery.event.add(window, "scroll", function() { var p = jQuery(window).scrollTop(); jQuery(elm).css('position', ((p) > startPos) ? 'fixed' : ''); jQuery(elm).css('top', ((p) > startPos) ? '0' : ''); }); }); </script> </body> </html>