木质纹理背景jQuery CSS3下拉菜单显示表单代码



130 519 174



特效描述:木质纹理背景 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

加群请备注:从官网了解到