您正在查看 "Javascript" 分类下的文章 2007年12月02日 下午 9:42 2007年12月02日 下午 9:36 2007年12月02日 下午 9:33 2007年12月02日 下午 9:31 2007年04月03日 下午 7:16 FCKeditor asp调用方法
<!-- #INCLUDE file="fckeditor/fckeditor.asp" -->
<form action="sampleposteddata.asp" method="post" target="_blank">
<%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/"
oFCKeditor.ToolbarSet = "Default"
oFCKeditor.Width = "100%"
oFCKeditor.Height = "400"
oFCKeditor.Value = "1234123123"
oFCKeditor.Create "Content"
%>
<br>
<input type="submit" value= |
2007年02月27日 下午 2:33 <div id="yongfa365"></div>
<input type="button" name="start" value="start" onclick=startshow();>
<input type="button" name="stop" value="stop" onclick="stop();">
<script language="javascript">
var intvalue=1;
var timer2=null;
function startshow()
{
document.getElementById("yongfa365").innerHTML += "<a |
2007年02月14日 下午 6:09 <SCRIPT>
//漂浮代码yongfa365制作,hi.baidu.com/yongfa365
var piaofu_x = 50 , piaofu_y = 60
var piaofu_xin = true, piaofu_yin = true
var piaofu_step = 1
var piaofu_delay = 20 //延迟时间,根据需要修改
document.writeln("<DIV id =\"ad\" style = \"POSITION: absolute\"> <\/DIV>")
var piaofu_obj = |
2007年02月07日 下午 10:29 1.document.write(""); 输出语句
2.JS中的注释为//
3.传统的HTML文档顺序是:document->html->(head,body)
4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)
5.得到表单中元素的名称和值:document.getElementById("表单中元素的ID号").name(或value)
6.一个小写转大写的JS: document.getElementById("output").value = document.getElementById("input").value.toUpperCase();
7.JS中的值类型:String,Nu |
2007年02月06日 下午 3:36 Function RegExpTest(patrn, strng)
Dim regEx, Match, Matches ' 建立变量。
Set regEx = New RegExp ' 建立正则表达式。
regEx.Pattern = patrn ' 设置模式。
regEx.IgnoreCase = True |
2007年02月05日 下午 9:08 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>选择下拉菜单</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META NAME="Description" CONTENT="Power by 51windows.Net">
</HEAD>
<BODY>
<form method="post" name="myform">
<table border="1" |
2007年02月05日 下午 8:32 首次用服务器的站长常犯的错误
原题:第一次使用服务器的站长常犯的一些小错误
从使用虚拟空间到使用独立服务器,这对一个站长来说是一件惊天动地的大事,对于一个没有拿自己电脑做过服务器的站长来说,第一次拿到属于自己的服务器的密码的时候,心情将是无比激动的。
然而 |
2007年02月05日 下午 8:24 2007年02月04日 下午 6:09 http://www.blueidea.com/tech/web/2003/1303.asp
var now = new Date();
now.getYear();//得到当前年
now.getMonth();//得到当前月
now.getDate();//得到当前日
now.getHours();//得到当前小时
now.getMinutes();//得到当前分钟
now.getSeconds();//得到当前秒
<script>
alert("今天是星期"+"天一二三四五六".charAt(new Date().getDay()))
</sc |
2007年01月24日 上午 12:16 <script>
set8="";
set4=2;
function set5(m,n,c,d,e3)
{
set4=1;
Lxyer1.style.top=document.body.scrollTop+event.clientY+20;
Lxyer1.style.left=event.clientX-150;
var t,a,b,f='<td align=center onmouseover=this.bgColor="#9CA4B6" onmouseout=this.bgColor="" ';
if(e3==1)var g=","+eval(m+".value")+", |
2007年01月23日 下午 11:43 | | |