摘要:
<script type="text/javascript"> var xmlHttp; function creatXMLHttpRequest() { if (window.ActiveXObject) { xmlHttp = new ActiveXObject("Microsoft.XMLHttp"); ... 阅读全文
摘要:
<!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> <style type="tex... 阅读全文
摘要:
如果你已经是一名优秀的Web开发人员,那请路过即可。如果你还是一个准备入行或刚入行的菜鸟,那本文倒值得一读。要成为一名优秀的Web开发人员,没有捷径可走,10步让您成为一名优秀的 Web开发人员就是为那些还在苦苦寻找学习目标的人编写的。 第一步:学好HTML HTML(超文本标记语言)是网页的核心,因此你首先 应该学好它,不要害怕,HTML很容易学习的,但也很容易误用,学懂容易要学精还得费点功... 阅读全文
摘要:
JS脚本实现 <script language="JavaScript">function myrefresh(){window.location.reload();}setTimeout('myrefresh()',1000); //1秒刷新一次</script><body onload= "myrefresh()">...</body> <meta http-equiv="refresh"... 阅读全文
摘要:
function refresh() { var s = $(".box1"); if (!s.is(":animated")) $(".box1").animate({ marginLeft: "0px" }, "slow", function () { $('.box1 img:first').before(... 阅读全文
摘要:
clearQueue()停止动画,再次开始是从初始开始。 阅读全文
摘要:
#box { width:50px; height:50px; background-color:Red; position:relative; 此处不可省 HTML 元素默认是静态定位,且无法移动。 如需使元素可以移动,请把 CSS 的 position ... 阅读全文
摘要:
window.onload=function(){ pd(11);} function pd(number) { if(number>5) {number--; pd(number); alert("no"); } else { alert("yes"); } } 结果是yes,no,no...... 递归的嵌套最后回归执行if语句内的... 阅读全文
摘要:
<% 'Load XML set xml = Server.CreateObject("Microsoft.XMLDOM") xml.async = false xml.load(Server.MapPath("cdcatalog.xml")) 'Load XSL set xsl = Server.CreateObject("Microsoft.XMLDOM") xsl.async... 阅读全文
摘要:
将xml转换为XHTML需要三步: 源xml文件 xsl文件 转换文件 例子: ?xml version="1.0" encoding="ISO-8859-1"? !-- Edited with XML Spy v2007 (http://www.altova.com) -- catalogcdartistBob Dylan/artistcountryUS... 阅读全文