日期:2014-05-16 浏览次数:20487 次
<script type="text/javascript"> function autoBr(max1) { var maxVal=document.getElementById("right"); var maxVal_Val=maxVal.childNodes.item(1).childNodes.item(0); var maxVal_3=maxVal.childNodes.item(1); var final_var=maxVal_3.innerHTML; var final_Length=maxVal_3.length; var temp=""; while(final_Length>max1) { temp=temp+final_var.substr(0,max1)+"\n"; final_var=final_var.substr(max1,final_Length); } temp=temp+"\n"+final_var; final_var=temp; } function testYes() { autoBr(10); } </script>
<body onload="testYes()"> <div id="right"> <h3 class="title"><a href="<!--{$url_about}-->" title="More" class="more">More</a><span>公司简介</span></h3> <div class="text"> <div class="editor"> <!--{if $ads_zone2}--> <!--{foreach $ads_zone2 as $volist}--> <img width="<!--{$volist.width}-->" height="<!--{$volist.height}-->" hspace="2" align="left" vspace="2" src="<!--{$volist.uploadfiles}-->" style="float:right" /> <!--{/foreach}--> <!--{/if}--> <p><!--{$config.about|filterhtml:435}--></p> </div> </body>