【JS/HTML】
收集JS,HTML等一些網(wǎng)頁知識
摘要: 其中 width 規(guī)定線條的長度,還可以是百分比;color 是顏色,size 當然就是厚度了。 align 規(guī)定線條位置,left、right、center。 noshade 是否有立體效果 <*HR align=center width=300 color=#00ffff noShade SIZE=1*>
兩頭漸變透明:
<*hr width=80% size=3 color=#00ffff style="FILTER: alpha(opacity=100,finishopacity=0,style=3)"*>
右邊漸變透明:
<*hr width=80% size=3 color=#00ffff style="FILTER: alpha(opacity=100,finishopacity=0,style=1)"*>
閱讀全文
兩頭漸變透明:
<*hr width=80% size=3 color=#00ffff style="FILTER: alpha(opacity=100,finishopacity=0,style=3)"*>
右邊漸變透明:
<*hr width=80% size=3 color=#00ffff style="FILTER: alpha(opacity=100,finishopacity=0,style=1)"*>
閱讀全文
摘要: dwr.xml是DWR的配置文件。默認情況下,應該把它放到WEB-INF目錄(web.xml的目錄)下
創(chuàng)建dwr.xml文件
dwr.xml文件的結構如下:
閱讀全文
創(chuàng)建dwr.xml文件
dwr.xml文件的結構如下:
摘要: DWR是一個框架,簡單的說就是能夠在javascript直接調(diào)用java方法,而不必去寫一大堆的javascript代碼。它的實現(xiàn)是基于ajax的,可以實現(xiàn)無刷新效果。
網(wǎng)上有不少DWR的例子,但大都只是某種方法的調(diào)用,本文只在使用層面上介紹DWR,并不涉更多的技術與設計,其目的是讓初學者能夠很快的學會各種java方法在javascript中是如何調(diào)用的。
本文以DWR 1.1 為基礎,對于DWR 2.0,因為還沒有正式發(fā)布版,故不做介紹。
一、dwr配置篇之web.xml
1、最小配置
閱讀全文
網(wǎng)上有不少DWR的例子,但大都只是某種方法的調(diào)用,本文只在使用層面上介紹DWR,并不涉更多的技術與設計,其目的是讓初學者能夠很快的學會各種java方法在javascript中是如何調(diào)用的。
本文以DWR 1.1 為基礎,對于DWR 2.0,因為還沒有正式發(fā)布版,故不做介紹。
一、dwr配置篇之web.xml
1、最小配置
閱讀全文
摘要: 我的試驗主要包括4種:
1.回傳一個普通的String字符串.
2.回傳一個組織好的Javascript字符串.
3.回傳一個Json對象.(需要引入json.jar)
4.回傳一個XML對象.
基本實現(xiàn)如下:
其中測試頁面為: 閱讀全文
1.回傳一個普通的String字符串.
2.回傳一個組織好的Javascript字符串.
3.回傳一個Json對象.(需要引入json.jar)
4.回傳一個XML對象.
基本實現(xiàn)如下:
其中測試頁面為: 閱讀全文
摘要: 1. 禁止右鍵點擊
view plaincopy to clipboardprint?
1. $(document).ready(function(){
2. $(document).bind("contextmenu",function(e){
3. return false;
4. });
5. });
2. 隱藏搜索文本框文字view plaincopy to clipboardprint?
1. $(document).ready(function() {
2. $("input.text1").val("Enter your search text here");
3. textFill($('input.text1')); 閱讀全文
view plaincopy to clipboardprint?
1. $(document).ready(function(){
2. $(document).bind("contextmenu",function(e){
3. return false;
4. });
5. });
2. 隱藏搜索文本框文字view plaincopy to clipboardprint?
1. $(document).ready(function() {
2. $("input.text1").val("Enter your search text here");
3. textFill($('input.text1')); 閱讀全文
摘要: Flash Menu Labs(軟件主頁)可以快速創(chuàng)建精美、生動活潑帶有視覺特效的Flash按鈕,不需要你花費很長時間來學習ActionScript。測試了下,F(xiàn)lash Menu Labs可算是一款便攜軟件,它不操作注冊表,F(xiàn)lash Menu Labs支持中文輸入,已處理沒有任何功能限制!
* 只需幾分鐘Flash Menu Labs就能滿足你的需求
* 可以在很短時間內(nèi)就能生成網(wǎng)站菜單
* 無需Flash和ActionScript知識即能輕松掌握軟件的使用
* Would you like to have cool Flash menus with impressing visual effects, eye-catching animation and non-trivial structure, but don't want to spend months coding ActionScript and tuning visual appearance?
* With Flash Men 閱讀全文
* 只需幾分鐘Flash Menu Labs就能滿足你的需求
* 可以在很短時間內(nèi)就能生成網(wǎng)站菜單
* 無需Flash和ActionScript知識即能輕松掌握軟件的使用
* Would you like to have cool Flash menus with impressing visual effects, eye-catching animation and non-trivial structure, but don't want to spend months coding ActionScript and tuning visual appearance?
* With Flash Men 閱讀全文
摘要: 1.document.write(""); 輸出語句
2.JS中的注釋為//
3.傳統(tǒng)的HTML文檔順序是:document->html->(head,body)
4.一個瀏覽器窗口中的DOM順序是:window->(navigator,screen,history,location,document)
5.得到表單中元素的名稱和值:document.getElementById("表單中元素的ID號").name(或value)
6.一個小寫轉(zhuǎn)大寫的JS: document.getElementById("output").value = document.getElementById("input").value.toUpperCase();
7.JS中的值類型:String,Number,Boolean,Null,Object,Function
8.JS中的字符型轉(zhuǎn)換成數(shù)值型:parseInt(),parseFloat()
9.JS中的數(shù)字轉(zhuǎn)換成字符型:("" 變量)
10.JS中的取字符串長度是:(leng 閱讀全文
2.JS中的注釋為//
3.傳統(tǒng)的HTML文檔順序是:document->html->(head,body)
4.一個瀏覽器窗口中的DOM順序是:window->(navigator,screen,history,location,document)
5.得到表單中元素的名稱和值:document.getElementById("表單中元素的ID號").name(或value)
6.一個小寫轉(zhuǎn)大寫的JS: document.getElementById("output").value = document.getElementById("input").value.toUpperCase();
7.JS中的值類型:String,Number,Boolean,Null,Object,Function
8.JS中的字符型轉(zhuǎn)換成數(shù)值型:parseInt(),parseFloat()
9.JS中的數(shù)字轉(zhuǎn)換成字符型:("" 變量)
10.JS中的取字符串長度是:(leng 閱讀全文
摘要: 1. oncontextmenu="window.event.returnValue=false" 將徹底屏蔽鼠標右鍵
〈table border oncontextmenu=return(false)>no 可用于Table
2. 〈body onselectstart="return false"> 取消選取、防止復制
3. onpaste="return false" 不準粘貼
4. oncopy="return false;" oncut="return false;" 防止復制
5. 〈link rel="Shortcut Icon" href="favicon.ico"> IE地址欄前換成自己的圖標
6. 〈link rel="Bookmark" href="favicon.ico"> 可以在收藏夾中顯示出你的圖標
7. 〈input style="ime-mode:disabled"> 關閉輸入法
閱讀全文
〈table border oncontextmenu=return(false)>
2. 〈body onselectstart="return false"> 取消選取、防止復制
3. onpaste="return false" 不準粘貼
4. oncopy="return false;" oncut="return false;" 防止復制
5. 〈link rel="Shortcut Icon" href="favicon.ico"> IE地址欄前換成自己的圖標
6. 〈link rel="Bookmark" href="favicon.ico"> 可以在收藏夾中顯示出你的圖標
7. 〈input style="ime-mode:disabled"> 關閉輸入法
閱讀全文
主站蜘蛛池模板: 天柱县| 苏尼特左旗| 珲春市| 皮山县| 景德镇市| 湖口县| 南充市| 长治市| 社旗县| 清镇市| 洛扎县| 长汀县| 滁州市| 新丰县| 天峨县| 衡南县| 泌阳县| 株洲市| 舒城县| 乌海市| 武威市| 宁强县| 大冶市| 陆河县| 武城县| 宣化县| 民勤县| 咸宁市| 买车| 鹤山市| 天镇县| 汕尾市| 无极县| 正阳县| 巴青县| 深州市| 丰镇市| 威宁| 鸡东县| 新干县| 定南县|