易截截图软件、单文件、免安装、纯绿色、仅160KB

javaScript(&jQuery)工具及相应网站资料

1.Dean Edwards编写的Packer(http://dean.edwards.name/packer/),用于压缩JavaScript
2.获取JQuery:http:/jquery.com 
                     http://docs.jquery.com/Downloading_jQuery   下载各个版本及相应帮助文件
3.开发工具和插件
   ①要使用Dreamweaver支持jQuery自动提示代码功能。
      在http://xtnd.us/dreamweaver/jquery下载一个名为jQuery_API.mxp的插件。
      在Dreamweaver中依次选择“命令”→“扩展管理”→“jQuery_API.mxp”命令后,就自动安装插件了。
        
      如果Dreamweaver没有扩展功能,可以在http://www.adobe.com/cn/exchange/下载相应软件
    ②aptana
     apatana是一个功能非常强大、开源和专注于javascript的ajax开发IDE。
     通过扩展后,可以作为adob air iPhone和nakia等的开发工具
   
     下载网址:http://www.aptana.com
     安装教程:http://www.aptana.com/docs/index.php/Getting_started_with_aptana_and_jquery
    ③ Visual Studio 2008
    补丁:http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736
    补丁安装好后,下载jQuery-1.3.1-vsdoc.js :http://jqueryjs.googlecode.com/files/jquery-1.3.1-vsdoc.js      
    把jquery-1.3.1-vsdoc.js与jQuery-1.3.1.js文件放在同一个文件夹下。
    这样vs2008就能有智能代码提示了功能了


相关文档:

javascript中的with

with(document)  
  {  
      write   ("test");  
      write  
("dsasfda");  
  }  
  上面是用了with  
  如果不用的话就要这样写了  
 
document.write   (" ......

javascript获得明天的日期


<script language="javascript" type="text/javascript">
var fullDate23=new Date();
var dateString22=new Date(fullDate23.getYear(),(fullDate23.getMonth()),fullDate23.getDate());
var dateString23=new Date(dateString22.valueOf()+1*24*60*60*1000);"&vbcrlf&_
var showDateString1=dateStri ......

javaScript简单的表格边框闪烁效果。

貌似CSDN里的都是专业人士,高手可以掠过了,呵呵。
一下是源码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content ......

javascript操作div中的marginTop

在javascript控制div之间的外边距时,代码写到
document.getElementById("").style.marginTop=20;
这个在IE浏览器中可以,但是在chrome中就不行,这个问题是应该
document.getElementById("").style.marginTop="20px";
各个浏览器中不同的问题要求不等对待,这些天学了div+css在设置各个浏览器是不同的配置,要针对每个 ......

String.prototype实现的一些javascript函数


//String.prototype使用   
  
//批量替换,比如:str.ReplaceAll([/a/g,/b/g,/c/g],["aaa","bbb","ccc"])   
String.prototype.ReplaceAll=function (A,B) {   
    var C=this;   
    for(var i ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号