欧美精品乱码久久久久久,日漫免费在线观看网站,亚洲高清国产精品http://www.aygfsteel.com/sitinspring/category/30337.html人生苦短,要緊跟自己的夢(mèng)想,愛你所做的事業(yè)。zh-cnFri, 23 May 2008 16:21:59 GMTFri, 23 May 2008 16:21:59 GMT60按鈕按下效果的左側(cè)導(dǎo)航欄實(shí)現(xiàn)http://www.aygfsteel.com/sitinspring/archive/2008/05/23/202384.html如坐春風(fēng)如坐春風(fēng)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/”看到了一個(gè)不錯(cuò)的按鈕按下效果的左側(cè)導(dǎo)航欄,自己模擬實(shí)現(xiàn)了一個(gè),效果如下,目前在ie下效果可以,但FireFox下走形,以后再調(diào)吧:


一。左菜單右內(nèi)容的實(shí)現(xiàn)。
本例中使用一個(gè)虛表格實(shí)現(xiàn)了左右兩列的效果,代碼如下:
<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">
                            內(nèi)容。。。。
                        
</div>
                    
</td>
                
</tr>
            
</table>
        
</div>
        
<div id="footer">
            
<jsp:include page="/web/page/branch/footer.jsp"/>
        
</div>
    
</div>
</body>

二。CSS部分設(shè)置代碼。
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 

以上


如坐春風(fēng) 2008-05-23 13:16 發(fā)表評(píng)論
]]>
通用化Web表單驗(yàn)證方式的改進(jìn)方案http://www.aygfsteel.com/sitinspring/archive/2008/05/21/201893.html如坐春風(fēng)如坐春風(fēng)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。頁(yè)面中存在自定義標(biāo)簽,這通不過W3C驗(yàn)證。
2。自定義標(biāo)簽不能寫在Struts標(biāo)簽中,造成此解決方案在Struts工程中不適用。
3。驗(yàn)證的方式和頁(yè)面內(nèi)容混合在一起,沒有分開。
4。原反饋信息span的id必須符合一定規(guī)范,這是額外的負(fù)擔(dān)。

為了解決這些問題,我采取了如下步驟:
1。建立一種數(shù)據(jù)結(jié)構(gòu),讓它容納文本框id,反饋span的id,驗(yàn)證正則表達(dá)式,是否必須輸入等四個(gè)信息。這樣頁(yè)面就不會(huì)混雜自定義標(biāo)簽,w3c驗(yàn)證和struts標(biāo)簽不支持的問題就解決了。
2。建立一個(gè)包含多個(gè)這種數(shù)據(jù)結(jié)構(gòu)的數(shù)組,其中元素與要驗(yàn)證的文本域一一對(duì)應(yīng)。此數(shù)組在需要驗(yàn)證時(shí)建立。這里雖然要多些一些JS代碼,但驗(yàn)證信息更集中更容易修改了。
3。需要驗(yàn)證時(shí)取得數(shù)組元素,挨個(gè)驗(yàn)證即可,需要的信息都可以從數(shù)組元素中取得。整個(gè)過程可以庫(kù)化通用化,頁(yè)面不需要寫驗(yàn)證。

如此做完后,我認(rèn)為原先的問題基本得到解決了。下面請(qǐng)看具體代碼  閱讀全文

如坐春風(fēng) 2008-05-21 14:09 發(fā)表評(píng)論
]]>
使用CSS實(shí)現(xiàn)滑動(dòng)菜單欄http://www.aygfsteel.com/sitinspring/archive/2008/05/08/199236.html如坐春風(fēng)如坐春風(fēng)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閱讀全文

如坐春風(fēng) 2008-05-08 14:20 發(fā)表評(píng)論
]]>
Web頁(yè)面中選項(xiàng)卡Tabview的實(shí)現(xiàn)http://www.aygfsteel.com/sitinspring/archive/2008/05/05/198499.html如坐春風(fēng)如坐春風(fēng)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的發(fā)展,Web頁(yè)面元素也開始了組件化的歷程,TabView也不例外.對(duì)此Extjs的組件最值得稱道,只是似乎需要一定的時(shí)間來鉆研.
本人閑暇之余也實(shí)現(xiàn)了自己的TabView,目前在IE下運(yùn)行正常和FireFox均運(yùn)行正常,這里貼出來希望和大家一起探討.  閱讀全文

如坐春風(fēng) 2008-05-05 16:47 發(fā)表評(píng)論
]]>
使用CSS實(shí)現(xiàn)側(cè)邊Tab菜單欄http://www.aygfsteel.com/sitinspring/archive/2008/05/05/198467.html如坐春風(fēng)如坐春風(fēng)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如果采用表格實(shí)現(xiàn)首頁(yè)的效果比較困難,而使用CSS對(duì)DIV和無序列表加以限制就比較容易了,本文將逐步講述這一過程.  閱讀全文

如坐春風(fēng) 2008-05-05 15:29 發(fā)表評(píng)論
]]>
使用commons-fileupload實(shí)現(xiàn)單個(gè)和多個(gè)文件上傳http://www.aygfsteel.com/sitinspring/archive/2008/04/12/192408.html如坐春風(fēng)如坐春風(fēng)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閱讀全文

如坐春風(fēng) 2008-04-12 14:16 發(fā)表評(píng)論
]]>
JFreeChat四種圖表的繪制例程http://www.aygfsteel.com/sitinspring/archive/2008/04/08/191445.html如坐春風(fēng)如坐春風(fēng)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閱讀全文

如坐春風(fēng) 2008-04-08 13:00 發(fā)表評(píng)論
]]>
表單驗(yàn)證方式的通用化http://www.aygfsteel.com/sitinspring/archive/2008/04/07/191362.html如坐春風(fēng)如坐春風(fēng)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閱讀全文

如坐春風(fēng) 2008-04-07 21:41 發(fā)表評(píng)論
]]>
Web頁(yè)面表單域驗(yàn)證方式的改進(jìn)http://www.aygfsteel.com/sitinspring/archive/2008/04/06/191059.html如坐春風(fēng)如坐春風(fēng)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閱讀全文

如坐春風(fēng) 2008-04-06 16:50 發(fā)表評(píng)論
]]>
使用DOM操作表格http://www.aygfsteel.com/sitinspring/archive/2008/04/05/190927.html如坐春風(fēng)如坐春風(fēng)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...  閱讀全文

如坐春風(fēng) 2008-04-05 16:05 發(fā)表評(píng)論
]]>
JavaScript常見效果及對(duì)DOM的一些操作。http://www.aygfsteel.com/sitinspring/archive/2008/04/05/190924.html如坐春風(fēng)如坐春風(fēng)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&...  閱讀全文

如坐春風(fēng) 2008-04-05 15:44 發(fā)表評(píng)論
]]>
網(wǎng)頁(yè)表單的制作和驗(yàn)證過程http://www.aygfsteel.com/sitinspring/archive/2008/03/23/188048.html如坐春風(fēng)如坐春風(fēng)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
下面就是一個(gè)通用網(wǎng)頁(yè)表單的制作和驗(yàn)證過程。  閱讀全文

如坐春風(fēng) 2008-03-23 17:33 發(fā)表評(píng)論
]]>
主站蜘蛛池模板: 崇州市| 哈尔滨市| 谷城县| 裕民县| 合川市| 木兰县| 鄯善县| 荥阳市| 潼关县| 玉田县| 鱼台县| 永靖县| 正宁县| 顺平县| 泰兴市| 上虞市| 满洲里市| 巴彦淖尔市| 固始县| 黄冈市| 桓台县| 榆社县| 台东县| 田东县| 广昌县| 隆林| 清丰县| 江源县| 新津县| 遂昌县| 遵义市| 于都县| 荔波县| 蒙城县| 西昌市| 博乐市| 突泉县| 宝山区| 扶沟县| 县级市| 乌什县|