国产成人精品免费网站,精品国产区一区二区三区在线观看
,日本免费一区二区三区http://www.aygfsteel.com/sitinspring/category/30337.html人生苦短,要緊跟自己的夢想,愛你所做的事業。zh-cnFri, 23 May 2008 16:21:59 GMTFri, 23 May 2008 16:21:59 GMT60- 按鈕按下效果的左側導航欄實現http://www.aygfsteel.com/sitinspring/archive/2008/05/23/202384.html如坐春風如坐春風Fri, 23 May 2008 05:16:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/05/23/202384.htmlhttp://www.aygfsteel.com/sitinspring/comments/202384.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/05/23/202384.html#Feedback0http://www.aygfsteel.com/sitinspring/comments/commentRss/202384.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/202384.htmlhttp://neic.usgs.gov/neis/qed/”看到了一個不錯的按鈕按下效果的左側導航欄,自己模擬實現了一個,效果如下,目前在ie下效果可以,但FireFox下走形,以后再調吧:

一。左菜單右內容的實現。
本例中使用一個虛表格實現了左右兩列的效果,代碼如下:
<body>
<div id="bodyDiv">
<div id="header">
<jsp:include page="/web/page/branch/header.jsp"/>
</div>
<div id="content">
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr>
<td width="200" valign="top" bgcolor="#d4e4f0">
<div id="leftMenu">
<jsp:include page="/web/page/branch/menubar.jsp"/>
</div>
</td>
<td>
<div id="rightContent">
內容。。。。
</div>
</td>
</tr>
</table>
</div>
<div id="footer">
<jsp:include page="/web/page/branch/footer.jsp"/>
</div>
</div>
</body>
二。CSS部分設置代碼。

body{
}{
margin:2px;
text-align:center;
background:#7b869a;
}


#bodyDiv{
}{
margin:0 auto;
text-align:left;
background:#ffffff;
}


#header{
}{
height:100px;
}


#content{
}{
height:500px;
}


#rightContent{
}{
height:500px;
padding:20px;
}


#leftMenu{
}{
height:500px;
background:#d4e4f0;
border-bottom:0px solid #000000;
border-left:0px solid #000000;
border-right:0px solid #000000;
border-top:0px solid #bad5e8;
}


#footer{
}{
clear:both;
background:#7b869a;
}


ul.pressEffectUl{
}{
color: #000000;
margin:0px;
padding:0px;
list-style-type:none;
background:#d4e4f0;
}


ul.pressEffectUl a{
}{
padding-left:20px;
text-decoration:none;
color:#8d4f10;
width:200px;
border-left:0px solid #000000;
border-right:0px solid #000000;
border-top:1px solid #ffffff;
border-bottom:1px solid #bad5e8;
}


ul.pressEffectUl a.currentLink{
}{
padding:2px;
padding-left:20px;
text-decoration:none;
color:#000000;
background:#ffffff;
width:200px;
border-left:0px solid #000000;
border-right:0px solid #000000;
border-top:1px solid #ffffff;
border-bottom:0px solid #bad5e8;
}


ul.pressEffectUl a:hover{
}{
color:#000033;
background:#e1effa;
border-left:0px solid #000000;
border-right:0px solid #000000;
border-top:1px solid #e1effa;
border-bottom:1px solid #e1effa;
}


h1 {
}{
font-size: 18px;
margin: 10px 0px 5px;
color: #eeeeee;
text-align: center;
}


h2 {
}{
font-size: 24px;
margin: 10px 0px 5px;
color: #000000;
text-align: center;
}


.feedbackShow{
}{
visibility: visible;
}


.feedbackHide{
}{
visibility: hidden;
}
三。代碼下載;
http://www.aygfsteel.com/Files/sitinspring/PressButtonMenu20080523130024.rar
以上

]]> - 通用化Web表單驗證方式的改進方案http://www.aygfsteel.com/sitinspring/archive/2008/05/21/201893.html如坐春風如坐春風Wed, 21 May 2008 06:09:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/05/21/201893.htmlhttp://www.aygfsteel.com/sitinspring/comments/201893.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/05/21/201893.html#Feedback5http://www.aygfsteel.com/sitinspring/comments/commentRss/201893.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/201893.html1。頁面中存在自定義標簽,這通不過W3C驗證。
2。自定義標簽不能寫在Struts標簽中,造成此解決方案在Struts工程中不適用。
3。驗證的方式和頁面內容混合在一起,沒有分開。
4。原反饋信息span的id必須符合一定規范,這是額外的負擔。
為了解決這些問題,我采取了如下步驟:
1。建立一種數據結構,讓它容納文本框id,反饋span的id,驗證正則表達式,是否必須輸入等四個信息。這樣頁面就不會混雜自定義標簽,w3c驗證和struts標簽不支持的問題就解決了。
2。建立一個包含多個這種數據結構的數組,其中元素與要驗證的文本域一一對應。此數組在需要驗證時建立。這里雖然要多些一些JS代碼,但驗證信息更集中更容易修改了。
3。需要驗證時取得數組元素,挨個驗證即可,需要的信息都可以從數組元素中取得。整個過程可以庫化通用化,頁面不需要寫驗證。
如此做完后,我認為原先的問題基本得到解決了。下面請看具體代碼 閱讀全文
]]> - 使用CSS實現滑動菜單欄http://www.aygfsteel.com/sitinspring/archive/2008/05/08/199236.html如坐春風如坐春風Thu, 08 May 2008 06:20:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/05/08/199236.htmlhttp://www.aygfsteel.com/sitinspring/comments/199236.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/05/08/199236.html#Feedback2http://www.aygfsteel.com/sitinspring/comments/commentRss/199236.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/199236.html閱讀全文

]]> - Web頁面中選項卡Tabview的實現http://www.aygfsteel.com/sitinspring/archive/2008/05/05/198499.html如坐春風如坐春風Mon, 05 May 2008 08:47:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/05/05/198499.htmlhttp://www.aygfsteel.com/sitinspring/comments/198499.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/05/05/198499.html#Feedback0http://www.aygfsteel.com/sitinspring/comments/commentRss/198499.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/198499.html隨著Web的發展,Web頁面元素也開始了組件化的歷程,TabView也不例外.對此Extjs的組件最值得稱道,只是似乎需要一定的時間來鉆研.
本人閑暇之余也實現了自己的TabView,目前在IE下運行正常和FireFox均運行正常,這里貼出來希望和大家一起探討. 閱讀全文
]]> - 使用CSS實現側邊Tab菜單欄http://www.aygfsteel.com/sitinspring/archive/2008/05/05/198467.html如坐春風如坐春風Mon, 05 May 2008 07:29:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/05/05/198467.htmlhttp://www.aygfsteel.com/sitinspring/comments/198467.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/05/05/198467.html#Feedback7http://www.aygfsteel.com/sitinspring/comments/commentRss/198467.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/198467.html如果采用表格實現首頁的效果比較困難,而使用CSS對DIV和無序列表加以限制就比較容易了,本文將逐步講述這一過程. 閱讀全文

]]> - 使用commons-fileupload實現單個和多個文件上傳http://www.aygfsteel.com/sitinspring/archive/2008/04/12/192408.html如坐春風如坐春風Sat, 12 Apr 2008 06:16:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/04/12/192408.htmlhttp://www.aygfsteel.com/sitinspring/comments/192408.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/04/12/192408.html#Feedback3http://www.aygfsteel.com/sitinspring/comments/commentRss/192408.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/192408.html閱讀全文

]]> - JFreeChat四種圖表的繪制例程http://www.aygfsteel.com/sitinspring/archive/2008/04/08/191445.html如坐春風如坐春風Tue, 08 Apr 2008 05:00:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/04/08/191445.htmlhttp://www.aygfsteel.com/sitinspring/comments/191445.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/04/08/191445.html#Feedback0http://www.aygfsteel.com/sitinspring/comments/commentRss/191445.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/191445.html閱讀全文

]]> - 表單驗證方式的通用化http://www.aygfsteel.com/sitinspring/archive/2008/04/07/191362.html如坐春風如坐春風Mon, 07 Apr 2008 13:41:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/04/07/191362.htmlhttp://www.aygfsteel.com/sitinspring/comments/191362.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/04/07/191362.html#Feedback7http://www.aygfsteel.com/sitinspring/comments/commentRss/191362.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/191362.html閱讀全文

]]> - Web頁面表單域驗證方式的改進http://www.aygfsteel.com/sitinspring/archive/2008/04/06/191059.html如坐春風如坐春風Sun, 06 Apr 2008 08:50:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/04/06/191059.htmlhttp://www.aygfsteel.com/sitinspring/comments/191059.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/04/06/191059.html#Feedback4http://www.aygfsteel.com/sitinspring/comments/commentRss/191059.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/191059.html閱讀全文

]]> - 使用DOM操作表格http://www.aygfsteel.com/sitinspring/archive/2008/04/05/190927.html如坐春風如坐春風Sat, 05 Apr 2008 08:05:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/04/05/190927.htmlhttp://www.aygfsteel.com/sitinspring/comments/190927.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/04/05/190927.html#Feedback0http://www.aygfsteel.com/sitinspring/comments/commentRss/190927.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/190927.html<%@ page contentType="text/html; charset=UTF-8"%>
<!DOCTYP... 閱讀全文

]]> - JavaScript常見效果及對DOM的一些操作。http://www.aygfsteel.com/sitinspring/archive/2008/04/05/190924.html如坐春風如坐春風Sat, 05 Apr 2008 07:44:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/04/05/190924.htmlhttp://www.aygfsteel.com/sitinspring/comments/190924.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/04/05/190924.html#Feedback0http://www.aygfsteel.com/sitinspring/comments/commentRss/190924.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/190924.html <table&... 閱讀全文

]]> - 網頁表單的制作和驗證過程http://www.aygfsteel.com/sitinspring/archive/2008/03/23/188048.html如坐春風如坐春風Sun, 23 Mar 2008 09:33:00 GMThttp://www.aygfsteel.com/sitinspring/archive/2008/03/23/188048.htmlhttp://www.aygfsteel.com/sitinspring/comments/188048.htmlhttp://www.aygfsteel.com/sitinspring/archive/2008/03/23/188048.html#Feedback2http://www.aygfsteel.com/sitinspring/comments/commentRss/188048.htmlhttp://www.aygfsteel.com/sitinspring/services/trackbacks/188048.html
下面就是一個通用網頁表單的制作和驗證過程。 閱讀全文
]]>
主站蜘蛛池模板:
桐庐县|
时尚|
和静县|
伊吾县|
安图县|
乡城县|
大石桥市|
清河县|
定日县|
葫芦岛市|
山阳县|
土默特左旗|
呼和浩特市|
涡阳县|
襄樊市|
鹤峰县|
平江县|
凯里市|
什邡市|
洛扎县|
明光市|
武城县|
定结县|
慈利县|
奈曼旗|
台北市|
越西县|
广饶县|
阿荣旗|
商城县|
安国市|
寻乌县|
福贡县|
蚌埠市|
丘北县|
临夏县|
瓦房店市|
南城县|
桐梓县|
镇巴县|
拜城县|