Oct
Simple Animated Menu for Mootools 1.2
By: Mark Dijkstra In: Menu MooTools
Curious how to build something like the menu featured on this site for your next web design project? (note IE6 users – the menu is not implemented for you as your browser does not properly support png transparency, but with a solid background, it would work great).
Hello you, if you are new here, you might want to subscribe to our RSS feed for updates on this article and our site.
xTo make the menu, you won’t even have to muck about in javascript. Simply define:
- a container for the background image
- the nav elements
- the ‘current’ nav element ID
- the animation’s horizontal track (the y coordinate of the background-image)
- the left offset of the image in relation to the nav element
Basically, you just tell the function where to put the background image you want to animate, what the buttons are and how to identify the current id, then position its x and y coordinates in relation to the elements. If you are new to javascript web development, and not sure what this all means, keep reading. It breaks down very simply.
See a demo here
Related Posts
Keep reading with more great articles!
More Categories
- Adobe AIR
- Advertisement
- AJAX
- Analytics
- Animations
- Announcement
- API
- Bookmark
- Browser
- Calendar
- Charts
- CMS
- CSS
- css3
- Design
- Desktop
- E-commerce
- Editor
- Fireworks
- Flash
- Forms
- Forum
- Framework
- FreeBee
- Gallery
- Gimp
- Giveaway
- Icons
- Illustrator
- Images
- Inspiration
- Interview
- Javascript
- jQuery
- Layout
- Menu
- MooTools
- Photoshop
- PHP
- Poll
- Popup
- Prototype
- Resources
- RSS
- Script.aculo.us
- Site of the month
- Stats
- Tables
- Template
- Tips and tricks
- Tools
- Tooltip
- Tutorials
- Upload
- Vector
- Video
- Web OS
- Wordpress
55 Free and beautiful WordPress themes
Three (printed)books from Packt Publishing giveaway
26 cool and useful jQuery tips, tricks & solutions
A collection of cool Mootools plugins
The best 44 photoshop text effects tutorials on the web!
Cool list of css3 buttons without using any images
Beautiful designs build on WordPress part 2
No Comments
As you can see there are no comments, so write the first one!Add Your Comment
Your name
September 9, 2010
We use Gravatars on OpensourceHunter, they are little icons that appear next to your name on this site and on many others. You can get a Gravatar account for free and any other site that supports it will show your avatar too. Get your Gravators account here!