代码搜索:如何学习 JS?
找到约 10,000 项符合「如何学习 JS?」的源代码
代码结果 10,000
www.eeworm.com/read/286423/8764521
js mymaster.js
//让对象相对屏幕居中
// SetCtrlToScrCenter(document.all.DetailsView1);
function SetCtrlToScrCenter(obj)
{
if(obj==null)
{
alert('要居中的对象为空!');
return;
}
//obj.style.Z-I
www.eeworm.com/read/430121/8765280
js navbar.js
function moveleft(mask,menu){
if(mask&&menu){
menuwidth = mask.offsetWidth
actualwidth=menu.offsetWidth
if (document.all&&menu.style.pixelLeft>(menuwidth-actualwidth))
menu.style.pixelLeft-=150
www.eeworm.com/read/430121/8765366
js fncheckform.js
//
function trim(strInput){
var iLoop=0;
var iLoop2=-1;
var strChr;
if((strInput == null)||(strInput == ""))
return "";
if(strInput){
for(iLoop=0;iLoop
www.eeworm.com/read/430121/8765370
js calendar.js
var returnValue="";
function getDate(field,strBil){
var url ="js_lib/CalendarCn.htm?field=" + field ;
var calWin = window.showModalDialog (url,window,"dialogHeight: 250px; dialogWidth: 430px;
www.eeworm.com/read/386061/8766486
js ajax.js
/**
* @author zxub 2006-06-01
* 状态信息显示类,用var Status=new function()定义,可以静态引用其中的方法
* 一般情况下为function Status(),这样不能静态引用其中的方法,需要通过对象来引用
*/
var Status=new function()
{
this.statusDiv=null;
www.eeworm.com/read/386061/8766490
js treemenu.js
/**
* 树形菜单控制类
* @author zxub
*/
var TreeMenu=new function()
{
this._url=null;
//加入样式
document.write('');
document.write('.treeCheckBox{heigh
www.eeworm.com/read/386054/8766932
js oncopy.js
// Hook-up to the document.body.oncopy event,
// or in the 's "oncopy" attribute.
// Author: Heath Stewart
function copyCode()
{
try
{
var range = document.selection.createRange();
www.eeworm.com/read/386054/8766956
js jxs.js
//V2.1 - Based on http://www.openjs.com/scripts/jx/ - released under BSD license
// 2.1 version by Chris Maunder (www.codeproject.com)
// - use XMLHttpRequest as 1st priority + use window.XMLHttpReq
www.eeworm.com/read/386054/8766980
js bookmark.js
// Copyright (c) 2008, The Code Project. All rights reserved.
var bobid, bobtid;
var bnoteNode;
function bookmarkMe(objId, objTypeId) {
bobid = objId.toString(); bobtid = objTypeId.toString(
www.eeworm.com/read/386054/8766986
js topnavbar.js
function menu_NavbarConfig() {
this.version = "3.21"
this.MenuName = "Nav Bar";
this.BaseHref="";
this.MainHoverClass="NavBarMainHover";
this.MainClass="NavBarMain";
this.SubHoverClass="Na