Git Product home page Git Product logo

ublue-tmallmenu's Introduction

jQuery左侧浮动折叠菜单 仿天猫(固定浮动、智能定位、CSS3折叠)

以前做设计的那段时间,常常为了一个专题页面的制作,上各种网站寻找灵感,淘宝就是其中之一。由于现在“从良”了,对设计这方面关心的就比以前要少了,更多的精力便是放在页面结构和用户体验上。

前两天上淘宝时,发现其首页的菜单还不错(貌似很早就有了,不过我是才看到,刚从火星回来...),于是就自己也动手制作了一个。

CSS方面属于参考天猫,jquery则完全是自己摸爬滚打。折叠的效果运用了CSS3,对于不识别的CSS3的浏览器,就单纯的隐藏了,没有做过渡效果。

其中,不得不说,自己做的过程中又学习到了蛮多的东西,特别是CSS方面,有些属性虽然不起眼,感觉没有必要,但起到了关键的作用。

主要功能:1.固定浮动、2.智能定位、3.CSS3折叠

测试环境:IE6-10、Chrome 23、Firefox 18、Oprea 12、Safari 5.1

原文地址:http://www.bluesdream.com/blog/jquery-floating-folding-menu-imitation-tmall.html

ublue-tmallmenu's People

Contributors

zhonglimh avatar wangwen1220 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.