利用jQuery實現導航菜單按鈕



28 110 37



特效描述:利用jQuery實現 導航菜單按鈕,利用jQuery實現導航菜單按鈕

代碼結構

1. 引入CSS

<link rel='stylesheet' type='text/css' href='css/style.css' />
<link rel="stylesheet" href="css/font-stylesheet.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" type="text/css" href="css/retina.css" media="only screen and (-webkit-min-device-pixel-ratio: 2)" />
<link rel="stylesheet" type="text/css" href="css/ie.css" media="screen" />
<link rel='stylesheet' type='text/css' href='css/jquery-ui.css' />

2. 引入JS

<script type='text/javascript' src='js/jquery.min.js'></script>
<script type='text/javascript' src='js/jquery-ui.min.js'></script>
<script type="text/javascript" language="javascript" src="js/jquery.dropdownPlain.js"></script>
<script src="js/plugins.js"></script>

3. HTML代碼

    <script type="text/javascript">
    $(document).ready(function(){
        $("#showSimpleModal").click(function() {
            $("#pop-up-modal").fadeIn();
            return false;   
        });
    });
</script>
<div id="main-container">
			 <div class="header-text">
        		<div id="logo"><a href="http://51qianduan.com/"><span class="displace">Live Tools</span></a></div>    
       		</div>
    </div><div class="clear"></div>
<div id="bg-split">
  <div id="main-container">
    	<div id="tool-menu-pane">
        <div id="tool-buttonbuilder-button" class="tool-button"><a href="http://51qianduan.com/"><span class="displace">Button Builder App</span></a><h3>Button Builder</h3></div>
        <div id="tool-formbuilder-button" class="tool-button"><a href="http://51qianduan.com/"><span class="displace">Form Builder App</span></a><h3>Form Builder</h3></div>
        	<div id="tool-iconbuilder-button" class="tool-button"><a href="http://51qianduan.com/"><span class="displace">Icon Builder App</span></a><h3>Icon Builder</h3></div>
        	<div id="tool-ribbonbuilder-button" class="tool-button"><a href="http://51qianduan.com/"><span class="displace">Ribbon Builder App</span></a><h3>Ribbon Builder</h3></div>
    	</div>
  </div>
</div><div class="clear"></div>
        <div id="main-container">
        <div class="footer-container">
        	<div class="footer-info">
        	<a href="#" id="showSimpleModal" title="Information"><span class="displace">Information</span></a></div>
        </div>
	</div>
     <!--Video Modal-->
<div id="pop-up-modal" class="modal">
	<div id="pop-up-modal-container">
		<div id="modal-bg">
        	<div id="close-button"><a href="index.html" id="closeSimple"><span class="displace">Close</span></a></div>
        		<div class="clear"></div>
                <div class="modal-info-container">
                <h1>About<span class="red-dot">.</span></h1>
                	<div class="faq-question"> Live Tools are a collection of free online design apps that allow you to easily create your own ui elements with very little coding knowledge. As well as being able to create custom elements, you can also download your creations for use in your websites and online applications.</div>
		</div>
	</div>
</div>



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


熱門標簽: flash導航菜單 flash導航條 flash導航 flash菜單 flash下拉菜單 flash下拉導航菜單 h5動畫導航 h5動畫菜單 html5動畫導航 html5動畫菜單 收縮菜單 收縮導航 右鍵菜單 導航切換 菜單切換 浮動菜單 浮動導航 滑動導航菜單 滑動導航 滑動菜單 滾動導航菜單 滾動菜單 滾動導航 彈出層拖動 窗口 彈出 彈窗 彈出層 提示框 對話框 遮罩 遮罩層 彈窗插件 導航菜單 導航條 菜單欄 導航欄 分類導航 響應式導航條 響應式導航 文字提示框 提示文字 提示框/彈出層 網址導航 導航菜單插件 導航插件 菜單插件
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

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

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

老夫子电子