This JavaScript menu resembles the Apple Dock menu. You can use it as an image slideshow or for displaying links to social networks. The script is a jQuery plugin, so you also need to include the jQuery library. You can download the jQuery library below. This script works on a <div> containing <img>’s, optionally wrapped in <a>’s.
First, check out the demo and download the source files (heavily commented, pretty self-explanatory).
Steps for getting this Apple Dock style menu on your website:
Link to the three scripts in the <head> tag of your html like this:
<script src="jquery-1.4.2.min.js" type="text/javascript"></script> <script src="jquery.dock.js" type="text/javascript"></script> <script src="myscript.js" type="text/javascript"></script>
You can call the plugin with three options, just change the content of “myscript.js”:
