jquery特效 翻转导航栏
来源:互联网 发布:域名交易案例 编辑:程序博客网 时间:2024/05/01 08:29
Step 1. Wireframe – HTML
This part is very simple. Your typical unordered list with links.
Step 2. Styling – CSS
Only thing special about the below properties will be that each list item has an overflow of hidden to imitate the masking technique. Check out the image below to see what I mean.
Notice there were no duplicate <span> tags in the markup in step 1. We will be adding that later with a few lines of jQuery.
Step 3. Animation – jQuery
For those who are not familiar with jQuery, do check out their site first and get an overview of how it works. I’ve shared a few tricks that I have picked up along the way, you can check those out as well.
Initial Step – Call the jQuery file
You can choose to download the file from the jQuery site, or you can use this one hosted on Google.
As you can see below, we are duplicating the span tags, then animating them -40px to the top to shift the navigation.
The following script contains comments explaining which jQuery actions are being performed.
http://www.sohtanaka.com/web-design/animate-navigation-with-css-jquery/
原帖地址
- jquery特效 翻转导航栏
- jquery导航栏特效
- jquery实现网页导航特效
- Jquery实现初级特效导航
- 导航栏翻转效果
- jquery随便小特效之常见网站顶部导航栏
- 超炫的jquery仿flash导航栏特效
- 导航栏特效
- 几个不错的jquery导航菜单特效
- JQuery制作简单的网页导航特效
- 用jquery制作导航定位特效
- 网页定位导航特效--jQuery学习
- jquery实现网页定位导航特效
- html5+jquery制作3D图片翻转切换特效
- 导航栏特效(活动)
- 导航栏三级下拉特效
- jquery特效-基于jQuery仿淘宝红色分类导航
- 导航特效
- 项目管理利器 - mingle 【机器低于2G的兄弟们就算了】
- 看雪资料
- Ext.grid.GridPanel处理显示数据
- ASP.NET MVC 2博客系列之一:强类型HTML辅助方法
- Heap与stack的差别
- jquery特效 翻转导航栏
- 模态窗体
- 有感于“林无敌”
- Technical Writing 在中国的前景何时才会真的灿烂起来呢?
- OpenCV1.0版本中cvCaptureFromFile()函数无法读取.avi文件的解决办法
- PSNR
- 802.11 MAC code in NS-2 (version 2.28)
- 与宝宝分离的日子
- DataGridView处于编辑状态的时候不响应Keyup事件