利用jQuery实现导航菜单按钮



70 276 93



特效描述:利用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>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 右键菜单 二级导航菜单 文字提示框 下拉导航菜单 提示框/弹出层 竖直导航菜单 layer 图标导航菜单 lightbox 固定导航菜单 侧边导航菜单 Tooltip工具提示框 树形导航菜单 浮动提示框 网址导航菜单 html5弹窗动画 导航菜单插件 文字导航菜单 滚动导航菜单 滑动导航菜单 浮动导航菜单 导航切换 右键菜单 收缩导航菜单 html5动画导航菜单 flash导航菜单 弹出层拖动 窗口提示框 导航菜单导航条

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

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