Time of Update: 2015-05-09
dl dt dd 執行個體,dtdd<body> <div class="head"> <div class="logo">前端開發教程</div> </div> <div class="nav"> <ul> <li class="current"><a
Time of Update: 2015-05-09
js擷取頁面視窗大小,js擷取視窗function getWinSize(){var winWidth =null;//寬度var winHeight =null;//高度if(window.innerWidth)winWidth = window.innerWidth;else if(document.body && document.body.clientWidth)winWidth =
Time of Update: 2015-05-09
mac下webstrom主題設定,macwebstrom主題到http://phpstorm-themes.com(經常打不開,也可以從其他http://www.cnblogs.com/jikey/archive/2012/10/26/2741426.html進行下載需要的版本)選擇一個自己喜歡的皮膚,右鍵另存新檔...mac下:1.mac下,點擊案頭,使用shift+command+G 輸入:~/Library/Preferences
Time of Update: 2015-05-09
使用Jquery動態選中Select控制項選項,jqueryselect 在製作分頁時,當使用者點擊了每頁顯示多少條資料之後,頁面應該記錄這個數值,然後當該頁載入完成時應該自動選中這個Select值才對,實現如下: HTML……每頁數量<select name = "pageSize" id="pageSize" sel="${pageModel.pageSize}"> <option value="20">20</option> &
Time of Update: 2015-05-09
PHP單檔案、多個單檔案、多檔案上傳函數的封裝,//表單://s.php//要在選擇上傳檔案時能一次選擇多個檔案,那麼就加multiple="multiple" ,還有注意下name="myFile1"和name="myFile[]"的區別,單檔案、多檔案上傳.<!doctype html><html><head><meta
Time of Update: 2015-05-09
kkpager的改進,Ajax資料變化但是頁碼不變的問題,kkpagerajaxkkpager 是一個簡單分頁展示外掛程式,需要依賴jquery。:http://www.oschina.net/action/project/go?id=29450&p=download官方文檔地址:https://github.com/pgkk/kkpager線上測試連結: 藍色皮膚:http://pgkk.github.io/kkpager/example/pager_test.ht
Time of Update: 2015-05-09
解決Ajax架構下頁面回退重新整理問題,ajax架構存在問題如果使用Firefox等瀏覽器訪問RMS網站時,我們可能會發現頁面之間的切換是通過AJAX非同步請求實現的,同時頁面的URL不會發生改變,雖然可以通過頁面上的按鈕通過AJAX非同步請求實現回退重新整理,但是對於瀏覽器前進和後退不能支援,每當重新整理與後退之後,頁面都會退到最開始的歡迎頁面。AJAX可以實現頁面的局部重新整理,可以做到非常好的資料載入效果,給使用者帶來非常良好的體驗,但是AJAX不能在瀏覽器的曆史會話中保留記錄,當你點開一
Time of Update: 2015-05-09
解決artDialog彈出artDialog的問題,解決artdialog彈出 2015年5月8日 天氣雨轉晴 由於功能的需要,要實現artDialog彈出artDialog的功能,在網上搜尋了很多相關的資料,但是都沒有找到解決的方法。後來經過對比他人的代碼得以發現問題的所在。錯誤的寫法:<%@ include file="/WEB-INF/layouts/include/taglibs.jsp"%><%@ include
Time of Update: 2015-05-08
開源 java
Time of Update: 2015-05-10
MyBatis實現SaveOrUpdate,saveorupdate MyBatis實現SaveOrUpdate這篇文章主要講如何通過xml方式實現SaveOrUpdate,但是仍然建議在Service中實現。例子<insert id="saveOrUpdate" > <selectKey keyProperty="count" resultType="int" order="BEFORE"> select count(*) from
Time of Update: 2015-05-10
VS中,using和“添加引用”的區別,vsusing參考資料表示你可以使用這個程式集了,而加上一個using,是為了方便你使用這個程式集,不用寫全名。 如: 引用 System.Windows.Form 後,你可以使用 MessageBox.Show() 方法 ;但是在你 using System.Windows.Form 前,你必須這樣用: System.Windows.Form.MessageBox.Show() 當你在代碼前加上 using
Time of Update: 2015-05-10
struts2 result類型為redirectAction時的參數傳遞,struts2result參數action部分<!-- 取消訂單 --><action name="cancelOrderAction" class="com.hcj.action.database.user.CancelOrderAction"><result type="redirectAction"><!--
Time of Update: 2015-05-10
任務調度(二)——jdk內建的Timer 動態修改任務執行計畫,jdktimer 上一篇博文《任務調度(一)——jdk內建的Timer》中,簡單介紹了一下Timer,本文將分享一下如何動態修改Timer制定的計劃。 先上代碼:package com.tgb.ccl.schema.dynamic;import java.util.Date;/** * 可動態修改的任務 * *
Time of Update: 2015-05-09
Python類定義和類繼承詳解 這篇文章主要介紹了Python類定義和類繼承詳解,本文講解了類的私人屬性、類的方法、私人的類方法、類的專有方法、類的定義、類的單繼承、類的多繼承等內容,需要的朋友可以參考下 一、類定義: ? 1 2 class <類名>:
Time of Update: 2015-05-09
python建立一個最簡單http webserver伺服器的方法 這篇文章主要介紹了python建立一個最簡單http webserver伺服器的方法,執行個體分析了Python操作http建立伺服器端的相關技巧,需要的朋友可以參考下 ? 1 2 3 4 5 6 7
Time of Update: 2015-05-09
win7 iis7.5 Request 對象 錯誤 'ASP 0104 :
Time of Update: 2015-05-09
Shell常用操作符總結 這篇文章主要介紹了Shell常用操作符總結,本文講解了算術操作符、關係操作符、測試操作符等內容,需要的朋友可以參考下 一、算術操作 複製代碼 代碼如下: + - * / % 二、關係操作 複製代碼 代碼如下: < > >= <= == != && || 三、測試操作 測試命令 : test [ ] [[ ]] (( )) 1、測試檔案狀態 代碼如下: -d 目錄 -b 塊裝置 -s
Time of Update: 2015-05-09
【Java程式員修鍊之道 之
Time of Update: 2015-05-09
Codeforces Round #302 (Div. 2)C (完全背包),C. Writing Codetime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputProgrammers working on a large project have just received a task to write exactly m
Time of Update: 2015-05-09
SpringMVC入門樣本教程(二),springmvc樣本