2013 年文章归档
共 13 篇文章
style
例子1 <body class="soria" style="background-color: #9898A5; display: block;height: 100%;width:100%;margin-left: 0px;overflow:hidden" onKeyDown="open();" > 例子2 <div id="mask" style="position:absolute;left:0px;top:0px;width:100%;height:100%;overflow:hidden;z-index:32000;background-color:#9898a5;cursor:…
2013-03-28 14:26 · CSS
soria
body 標籤內,我們加上了 class="soria" 的用法。 這個是 Dojo 所提供的一種主題(網頁的 theme)。Dojo 總共有三個 themes, 分別是 tundra、soria、以及 nihilo; 為了能夠使用 Dojo 的主題設定,我們必須引用 soria 的 CSS 檔;另外, 為了能夠充分呈現 Dojo 的效果,我們把 dojo.css 也加進來。如果要加入這些效果, 我們需要以下的設定: <style type="text/css"> @import "dojo/dojo/resources/dojo.css"; @import "dojo/dijit/them…
2013-03-28 14:22 · Dojo
dijit.ProgressBar
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html dir="ltr"> <head> <style type="text/css"> body,html { font-family: helvetica, arial, sans-serif; font-size: 90%; } </style> <script type="text/javascript" src="dojo/dojo/dojo.js" djConfig="parseOnLoad: …
2013-03-28 13:39 · Dojo
Math函数
Math.pow(2,53) // => 9007199254740992: 2 to the power 53 Math.round(.6) // => 1.0: round to the nearest integer Math.ceil(.6) // => 1.0: round up to an integer Math.floor(.6) // => 0.0: round down to an integer Math.abs(-5) // => 5: absolute value Math.max(x,y,z) // Return the largest argument Math…
2013-03-28 11:07 · JavaScript
web.xml
1. servlet在容器启动时加载 <servlet> <servlet-name>MockStartupServlet</servlet-name> <servlet-class>servlet.MockStartupServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> 2. servlet在启动时设初始化参数 <servlet> <servlet-name>MockStartupServlet</servlet-name> <servlet-class>servlet.MockStartupSer…
2013-03-25 14:16 · Dynamic Web Project
Unicode字符列表
http://zh.wikipedia.org/wiki/Unicode%E5%AD%97%E7%AC%A6%E5%88%97%E8%A1%A8 除非有特別指明,否則以下符號皆屬「 半形 」而非「 全形 」。 代碼 顯示 描述 U+0020 空格 U+0021 ! 嘆號 U+0022 " 雙引號 U+0023 # 井號 U+0024 $ 價錢/貨幣符號 U+0025 % 百分比 符號 U+0026 & 英文 「and」的簡寫符號 U+0027 ' 引號 U+0028 ( 開 圓 括號 U+0029 ) 關 圓 括號 U+002A * 星號 U+002B + 加號 U+002C , 逗號 U+…
2013-03-06 09:55 · 字符