当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: 公司现在让我做一个统计文章的,个个汉字或英文的出现次数,并表示成图,一开始,我以为用stringtokenizer应该能够搞定,可后来越做越觉得,真得很不容易 所以,最后只能跑到老地方求援了,大家要是觉得我说得不清楚是什么意思,请打开word然后,随意输一些东西,接着查看工具菜单中的字数统计菜单,我就想知道,他这个是用什么算法实现的。请多多帮忙(用stringtokenizer统计英文不错......
 ·征求struts的例子    »显示摘要«
    摘要: 谁有struts+tomcat的例子 特别对sql server数据库连接等方面的东西,希望大家详细说明以下 实在struts-config.xml中直接配置 还是另外处理,数据库驱动是否放在common\lib目录下 谢谢大家 我的email:linsr3222@tom.com ......


在HTML中插入图片的问题

在HTMl中插入图片  
  <IMG   alt=3D\"\"Place   for   %s   hspace=3D0=20   src=3D\"cid:%s\"   border=3D0>  
  请问怎样控制图片的大小……

NO.1   作者: lbd8848

<img   src=a.jpg   width=100   heigh=50>  
   
  width和height

NO.2   作者: stefli

放入head里面  
  <script   language="JavaScript">  
  <!--  
  var   flag=false;  
  function   DrawImage(ImgD){  
  var   image=new   Image();  
  image.src=ImgD.src;  
  if(image.width>0   &&   image.height>0){  
  flag=true;  
  if(image.width/image.height>=   164/112){  
  if(image.width>164){    
  ImgD.width=164;  
  ImgD.height=(image.height*164)/image.width;  
  }else{  
  ImgD.width=image.width;    
  ImgD.height=image.height;  
  }  
  ImgD.alt=image.width+"×"+image.height;  
  }  
  else{  
  if(image.height>112){    
  ImgD.height=112;  
  ImgD.width=(image.width*112)/image.height;    
  }else{  
  ImgD.width=image.width;    
  ImgD.height=image.height;  
  }  
  ImgD.alt=image.width+"×"+image.height;  
  }  
  }  
  }    
  //-->  
  </script>  
   
  图片调用  
  <img   src="a.gif"   border="0"   width="164"   height="112"   onload="javascript:DrawImage(this);">    
 


    摘要: dim str as string str = "1990-10-10" cn.execute ("insert into 表 values(str)") 请教如何转换str? ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE