
JAVASCRIPT
文章平均质量分 72
ytbada
这个作者很懒,什么都没留下…
展开
-
HTML文件中也玩include文件包含
HTML文件中也玩include文件包含 [ 作者:龙犊整理 转贴自:天极网 点击数:1643 更新时间:2006-3-17 ]原创 2007-05-24 14:29:00 · 1082 阅读 · 0 评论 -
TabPage类
body { background-color: menu; } #oContainer { width: 500px; height: 400px; } var oTabPage = new Object(); var TabPage = functi原创 2007-04-13 16:03:00 · 852 阅读 · 0 评论 -
动态提示的下拉框
动态提示的下拉框a{color:red;text-decoration:none;font-size:12px}动态提示的下拉框 请输入1或2或3或4或5进行测试: 1 12 123 1234 2 23 234 2345 3 34 345 3456 5 51 51w 51wi 51win 51windows var TempArr=[];//存贮o原创 2007-04-13 15:56:00 · 533 阅读 · 0 评论 -
采用CSS和JS的下拉菜单
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">nav// JavaScript DocumentstartList = function() {if (document.all&&document.getElementById) {navRoot = document原创 2007-04-13 15:45:00 · 565 阅读 · 0 评论 -
菜单特效
New Page 28#ssm2 A { FONT-SIZE: 12px; COLOR: #808080; FONT-FAMILY: verdana; TEXT-DECORATION: none}#ssm2 A:hover { COLOR: #ccff33}body{background:url(http://www.infowe.com/images/infowe.gif) no-repeat原创 2007-04-13 15:44:00 · 638 阅读 · 0 评论 -
新闻广告图片切换效果+描述---网友:greengnn
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">新闻切换技术body { text-align: center; margin:0; padding:0; background: #FFF; font-size:12px; color:#000;}div,form,img,原创 2007-04-13 15:42:00 · 521 阅读 · 0 评论 -
运行代码的代码
function Preview(){ var TestWin=open(); TestWin.document.write(code.value);}运行原创 2007-04-13 15:32:00 · 607 阅读 · 0 评论 -
图片之间的切换:
var imgUrl=new Array();var imgLink=new Array();var adNum=0;var jumpUrl="http://sports.tom.com/";imgLink[1]="http://sports.tom.com/gnzt/2005yg/";imgLink[2]="http://sports.tom.com/zhty/";imgUrl[1]原创 2007-04-13 15:25:00 · 531 阅读 · 0 评论 -
客户端静态页面玩分页
New Document * { font-size:10.2pt; font-family:tahoma; line-height:150%;}.divContent{ border:1px solid red; background-color:#FFD2D3; width:500px; word-break:break-all; margin:10px 0px 10px; padding:原创 2007-04-13 15:23:00 · 1088 阅读 · 1 评论 -
js模仿flash菜单-- 超酷
var CHeightvar lastHeightvar lastDiv=nullvar speed=.25var Cid=nullvar Menu=Array()var ST=nullvar MaxH=52var MinH=28Menu[0]=new menuText("Home","回到主页")Menu[1]=new menuText("Download","下载")Menu[2]=new m原创 2007-04-13 17:10:00 · 1224 阅读 · 0 评论 -
一个坚向移动效果
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">WU XIN/* Author: Hutia */function chkScroll(obj){var y0=obj.offsetTop, y=event.y, h0=obj.offsetHeight, h1=obj.scrollHeight;obj.scrollTop=pars原创 2007-04-13 17:19:00 · 807 阅读 · 0 评论 -
模仿某招聘网站下拉菜单-最新出炉
//----------------------------// 功能搜索选择框// 作者:Joshua// Email:JoshuaChen[at]126.com// webSite:www.xcopy.cn//------------------------------//省var Data_Area_Province = new Array("安徽","北京","福建","甘肃","广东",原创 2007-04-13 17:23:00 · 3931 阅读 · 0 评论 -
一个非常不错的loading 效果.借花献佛
无标题文档var NUMBER_OF_REPETITIONS = 40;var nRepetitions = 0;var g_oTimer = null;function startLongProcess(){ divProgressDialog.style.display = ""; resizeModal(); btnCancel.focus(); // A原创 2007-04-13 17:25:00 · 968 阅读 · 0 评论 -
Calling Web Services From Html Pages using Javascript
IntroductionHello everyone. In this article i wanted to show you, how to call a web service and pass parameters to its methods through html pages. I hope it will be useful.For this article we ne原创 2007-04-17 11:36:00 · 1162 阅读 · 0 评论 -
java script调用Web Service,
急要,在线等!jiezhi(風依舊) 于 2004-11-12 14:18:25http://msdn.microsoft.com/library/default.asp?url=/workshop/author/webservice/overview.asphttp://www.codeproject.com/cs/webservices/webservicecallback.asp?targe原创 2007-04-17 09:59:00 · 2257 阅读 · 0 评论 -
字选中放大
ul#hovershow2{ list-style-type: none; margin: 50px; width:200px; float: left; display: inline; clear: both; } ul#hovershow2 li{ float: left; display: inline; width:20px; hei原创 2007-04-13 18:41:00 · 956 阅读 · 0 评论 -
非脚本式下拉菜单[
颠覆传统观念---非脚本式下拉菜单[符合W3C标准,全兼容]--来自【心动】.xd_menu { position:relative; background:#fff; color:#666; text-decoration:none; font-size:12px; width:200px; text-align:center原创 2007-04-13 16:05:00 · 633 阅读 · 0 评论 -
.listView类
#oContainer { width: 600px; height: 500px; border: 1px solid menu; margin: 0px; padding: 0px; overflow: hidden; } a { color: bl原创 2007-04-13 16:01:00 · 639 阅读 · 0 评论 -
QQ菜单效果
#oContainer { width: 130px; height: 300px; border: 1px solid menu; } var oTime, oTencent = new Object(); function Tencent(_container)原创 2007-04-13 16:00:00 · 704 阅读 · 0 评论 -
对联效果
var oCouplet = new Object(); function Couplet(_top, _width, _height, _offset, _delay, _amount) { this.author = 51JS.COM-ZMM; this.version = Couplet 1.0; this.top =原创 2007-04-13 15:58:00 · 1049 阅读 · 0 评论 -
accesskey 提交 快捷鍵提交
无标题文档http://www.jluvip.com/index.html" method=POST name=form1>原创 2007-04-13 15:39:00 · 600 阅读 · 0 评论 -
超级REAL视频播放器
width="339" height="227"> http://entdown.163.com/ent/garbage/mv/1028/xuemv.rm">原创 2007-04-13 15:36:00 · 640 阅读 · 0 评论 -
经典的带阴影的可拖动的浮动层
MyPixbotfunction MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; d原创 2007-04-13 15:29:00 · 626 阅读 · 0 评论 -
文本域里字体颜色问题
IECN.NET :: 专注Web技术 体验开发乐趣 ttt.appendChild(document.createTextNode("aaaaaaaa"));var bbb = document.createElement("font");bbb.style.color="#ff0000";bbb.style.backgroundColor="#ffff00";bbb.appendChi原创 2007-04-13 12:14:00 · 1959 阅读 · 0 评论 -
刷新不变化的树形菜单
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">刷新不变化树形菜单 - 未寺客JSbody,td,th {font-size: 14px;}.leftmenu1 {font-weight: bold; cursor: hand; padding-top: 4px; heig原创 2007-04-13 16:12:00 · 1398 阅读 · 1 评论 -
一个部分封装的漂亮进度条
document.execCommand("BackgroundImageCache",false,true);function ProcessBar(obj){ this.isMoving = false; this.maxLength = parseInt(obj.parentNode.style.width.replace("px","")); this.nowLen原创 2007-04-13 16:07:00 · 1004 阅读 · 0 评论 -
自定义容器和字体大小
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> Home body{ margin: 1em; text-align: center; font-family: Arial, Helvetica, sans原创 2007-04-13 15:35:00 · 714 阅读 · 0 评论 -
类似MSN提示的页面效果
类似MSN提示的页面效果 [本页面推荐在1024x768分辩率下浏览]文章类别:网站制作技术 网站目录: 网站首页 —> 网站制作技术原创 2007-01-01 11:40:00 · 594 阅读 · 0 评论 -
网页技术
网页经典代码 网页经典代码(比较全) 作者:轨迹原创 2007-01-01 11:58:00 · 696 阅读 · 0 评论 -
在b/s开发中经常用到的javaScript技术
1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键no 可用于Table2. 取消选取、防止复制3. onpaste="return false" 不准粘贴4. oncopy="return false;" oncut="return false;" 防止复制5. IE地址栏前换成自己的图标6. 可以在收藏夹中显示出你的图标原创 2007-01-01 11:55:00 · 543 阅读 · 0 评论 -
Javascript中使用对话框,在对话框关闭时刷新前页面的方法
Javascript中使用对话框,在对话框关闭时刷新前页面的方法 [本页面推荐在1024x768分辩率下浏览]文章类别:网站制作技术 网站目录: 网站首页 —> 网站制作技术原创 2007-01-01 11:40:00 · 934 阅读 · 0 评论 -
如何点击按钮弹出新窗口,输入数据后返回并刷新页面?
AutoEventWireup="false" Codebehind="WebForm1.aspx.vb"Inherits="ShowModalDialog.WebForm1" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&g原创 2007-01-06 20:05:00 · 5430 阅读 · 0 评论 -
用WebService获取服务端硬件信息和客户端IP,MAC,浏览器信息,所在城市- -
using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Diagnostics;using System.Web;using System.Web.Services;using System.Web.UI;using System.Web.UI.WebContr原创 2007-01-04 16:41:00 · 2805 阅读 · 0 评论 -
javascript表单之间的数据传递!
一,最简单的就是同一个网页里的表单的数据传递。举个实例,一个网页上有两个表单,每个表单里一个文本框,一个按钮。点按钮互相对操作对方的文本框的值。我们举的例子是把一个文本框付给另一个文本框。具体的HTML代码如下: 程序代码Untitled Document2" onClick="ok()">1" onClick="ok1()">以上为HTMl的代码,大家可能注意到了oncl转载 2006-12-30 20:25:00 · 761 阅读 · 0 评论 -
javascript 导出html table到 excel(转载)
javascript 导出html table到 excel(转载) function toExcel(tablename) //导出到excel { var mysheet=new ActiveXObject("OWC.Spreadsheet"); with(mysheet) { DataType = "HTMLData"; HTMLData转载 2006-12-30 20:19:00 · 1513 阅读 · 0 评论 -
JavaScript实际应用:innerHTMl
今天开发中涉及到对一个层的信息控制,就是控制一个层中显示什么信息,查找资料才知道使用innerHTML属性来控制层的值,这个innerHTML跟表单里面的value属性有点类似,能够控制层的显示值。比如说我一个div层里本来没有值,我处罚一个事件后要显示值,那么就能够使用innerHTML属性了,其实innerHTML属性除了能控制层以外,还能控制窗口内容的所有元素,但是我没有测试过。(1原创 2006-12-30 20:17:00 · 803 阅读 · 0 评论 -
改善用户体验的alert提示效果
cesh);" /> //Author:Daviv//Blog:http://blog.163.com/jxdawei" target="_blank">http://blog.163.com/jxdawei//Date:2006-10-28//Email:jxdawei@gmail.com function sAlert(str){ var msgw,msgh,bordercolor;原创 2006-12-30 20:06:00 · 837 阅读 · 0 评论 -
改善用户体验之alert提示效果(126邮箱版)
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/x原创 2006-12-30 20:02:00 · 979 阅读 · 0 评论 -
Div Css Menu Tools Tree
http://soft.yesky.com/lesson/384/2543384.shtml原创 2007-01-04 13:35:00 · 648 阅读 · 0 评论 -
聊天室的前台脚本,不会出滚动条
sub xjn()set http1 = CreateObject("Microsoft.XMLHTTP")http1.open "GET","chat.asp",falsehttp1.send()str =unescape(http1.responseText)if len(str)pp.innerHTML=strwindow.scroll 0,65000set http1=nothingend原创 2007-01-05 15:37:00 · 731 阅读 · 0 评论