adidas.com so cool !!!!!!!!!!
why not with j开发者_Python百科Query, CSS & HTML?
How div with different height & width together fill up div container when height & width are get random from database?
Someones help me?
An open source project has been started to create a jQuery plugin to achieve a similar effect to the one Adidas had on their site:
Find out more information at: http://github.com/jasonenglish/jquery-flex
It would be quite difficult to reproduce in jQuery but there is a jquery plugin called jQuery Masonry that arranges elements vertically then horizontally according to a grid.
http://desandro.com/resources/jquery-masonry
You could then start to apply sliding effects to each block element using a the hover function and css. There's a good tutorial here
http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-day-7
精彩评论