05 2008 档案
摘要:JS:function divideContent(contentDomId,linkDomId){var maxCotentHeight = 600;var lineheight = parseInt(document.getElementById(contentDomId).style.lineHeight);maxCotentHeight = Math.ceil(maxCotentHeight/lineheight)*lineheight;document.getElementById(contentDomId).style.height = "";var conte
阅读全文
摘要:<?phpwhile(! ($dataFile = @fopen('http://www.phpwind.net/index-htm-cateid-1.html', "r" )) ){sleep(2);}//$dataFile = fopen('data.txt', "r" ) ;$buffer = '';if ( $dataFile ){$buffer = "";while (!feof($dataFile)) {$buffer .= fgets($dataFile, 4096)
阅读全文
摘要:准备:1、prototype.js,http://prototype.conio.net/,用于ajax加载汉字字库2、汉字字库http://cn.minidx.com/index.php?option=com_docman&task=doc_download&gid=47----------------------------------------------------------------------------------------------------------------------------------------------<!DOCTYPE
阅读全文
摘要:functionsptOps(str)...{varurl='/product/index/sa?'+str;varelement=document.createElement("script");element.setAttribute("language","javascript");element.setAttribute("src",url);document.body.appendChild(element);}实际就是把iframe换成script而已,效率高,代码简单,兼容性好
阅读全文

浙公网安备 33010602011771号