木質紋理背景jQuery CSS3下拉菜單顯示表單代碼



135 537 180



特效描述:木質紋理背景 jQuery CSS3下拉菜單 顯示表單代碼,木質紋理背景

代碼結構

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/style.css" />

2. 引入JS

<script type='text/javascript' src='js/jquery.js'></script>
<script type='text/javascript' src='js/formbox.js'></script>
<script src="/gg_bd_ad_720x90.js" type="text/javascript"></script>
<script src="/follow.js" type="text/javascript"></script>

3. HTML代碼

    <div id="edgesline" class="edges"></div>
	<div id="tabs">
    <ul id="tabMenu">
        <li class="regular"><a href="home.html">Home</a></li>
        <li class="dropdown"><a href="#tab1">Login</a></li>
        <li class="dropdown"><a href="#tab2">Sign-Up</a></li>
        <li class="dropdown"><a href="#tab3">Forgot Password</a></li>
        <li class="regular"><a href="home.html">Pricing</a></li>
        <li class="regular"><a href="home.html">About</a></li>
        <li class="dropdown"><a href="#tab4">Contact</a></li>
        <li class="edges">&nbsp;</li>
    </ul>
</div>
<div id="tabContainer" style="margin-bottom:200px">
<ul id="tabPanes">
    <li id="tab1">
        <p>
            <div class="formcontainer">
                <div class="text">
                    <label for="username">Username</label>
                    <input type="text" name="username" id="username" alt="The username you chose when signing-up for the site.">
                </div>
                <div class="text">
                    <label for="password">Password</label>
                    <input type="text" name="password" id="password" alt="The password you chose when signing-up for the site.">
                </div>
                <div class="text">
                    <br>
                    <input type="checkbox" name="rememberme" id="rememberme"> Remember Me
                </div>
            </div>            
            <center>
                <div class="block" id="bluebutton">
                    <button>Login</button>
                </div>
            </center>
        </p>
    </li>
    <li id="tab2">
        <p>
            <div class="formcontainer">
                <div class="text">
                    <label for="username">Desired Username</label>
                    <input type="text" name="desusername" id="desusername" alt="Min. 5 characters Long. <br>All Lowercase letters.<br>Easy to remember">
                </div>
                <div class="text">
                    <label for="despassword">Desired Password</label>
                    <input type="text" name="despassword" id="despassword" alt="Min. 5 characters Long.<br>Must include 1 Number<br>& One Uppercase Letter.">
                </div>
                <div class="text">
                    <label for="password">Confirm Password</label>
                    <input type="text" name="confpassword" id="confpassword" alt="Please ensure this matches the password above">
                </div>
            </div>
            <center>
                <div class="block" id="bluebutton">
                    <button>Sign-Up</button>
                </div>
            </center>
        </p>
    </li>
    <li id="tab3">
        <p>
            <div class="formcontainer">
                <div class="text">
                    <label for="username">Username</label>
                    <input type="text" name="username" id="username" alt="Please check your username is correct before clicking Resend.">
                </div>
                <br>    
                Please enter your username above. Click 'Resend' and we'll email you your password.    
                <center>
                    <div class="block" id="bluebutton">
                        <button>Resend</button>
                    </div>
                </center>
            </p>
            </li>
                <li id="tab4">
                    <p>
                        <div class="formcontainer">
                            <div class="text">
                                <label for="yourname">Your E-Mail:</label>
                                <input type="text" name="youremail" id="youremail" alt="Please enter a valid e-mail address so we can reply back to you">
                            </div>
                            <div class="text">
                                <label for="msgsubject">Subject</label>
                                <input type="text" name="msgsubject" id="msgsubject" alt="What is your message concerning?">
                            </div>
                            <div class="text">
                                <label for="password">Message</label>
                                <input type="text" name="msgtext" id="msgtext" alt="Your Message (Please keep it short). We'll get back to you asap!">
                            </div>
                        </div>
                        <center>
                            <div class="block" id="bluebutton">
                                <button>Send</button>
                            </div>
                        </center>
                    </div>
                    </p>
                </li>                
            </ul>
            </div>
<center>
	         <div style="text-align:center;clear:both;">
<script src="/gg_bd_ad_720x90.js" type="text/javascript"></script>
<script src="/follow.js" type="text/javascript"></script>
</div>
		<br>
			  <img id="board" border=0 src="images/woodenboard2.jpg"></img>
			<p>
			  <a class="footerlink" href="http://www.addyosmani.com/blog/formbox">
			    Return To The FormBox Article on AddyOsmani.com
			  </a>
			  </p>
</center>



用戶評論
大牛,別默默的看了,快登錄幫我點評一下吧!:)      登錄 | 注冊


熱門標簽: flash導航菜單 flash導航條 flash導航 flash菜單 flash下拉菜單 flash下拉導航菜單 h5動畫導航 h5動畫菜單 html5動畫導航 html5動畫菜單 收縮菜單 收縮導航 右鍵菜單 導航切換 菜單切換 浮動菜單 浮動導航 滑動導航菜單 滑動導航 滑動菜單 滾動導航菜單 滾動菜單 滾動導航 滑動 滑塊 滑動門 觸屏滑動 滑動插件 滑塊插件 滑動星星打分 切換按鈕 表單 表單美化 表單插件 表單美化插件 導航菜單 導航條 菜單欄 導航欄 分類導航 響應式導航條 響應式導航 其他 滑動導航菜單 滑動導航 滑動菜單 下拉列表 下拉菜單 下拉導航 下拉導航菜單 下拉菜單導航 響應式下拉菜單 文本框 text文本框 單選框 單選按鈕 表單提交 鼠標滑過 鼠標懸停 跟隨鼠標移動
?
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

jQuery/js討論群
群號:642649996
Css3+Html5討論群
群號:322131262

加群請備注:從官網了解到

老夫子电子