If you are a big Mac fan, you will love this CSS dock menu that I designed. It is usingJquery Javascript library and Fisheye component from Interface and some of my icons. It comes with two dock styles - top and bottom. This CSS dock menu is perfert to add on to my iTheme. Here I will show you how to implement it to your web page. Update: I no longer support the questons regard this script. If you like the HiGloss iconsused in the demos, you can get them as stock icons at IconDock. DOWNLOAD CSS DOCK MENU(View Demo) 1. DOWNLOAD SOURCE FILESDownload the CSS dock menu zip package. 2. INSERT CODEIn between the HTML <head> tag, add the following code
The first part is the Javascript, second part is CSS stylesheet, and last part is the PNG hack for IE 6. 3. CONFIGURATIONDon’t forget to add the following code to anywhere within the <body> tag:
4. ADD OR REMOVE ITEMTo add menu item to the top dock (note: span tag is after the img tag):
To add menu item to the bottom dock (note: span tag is before the img tag):
BROWSER COMPATIBILITYI have tested on IE 6, IE 7, Opera 9, Firefox 2, and Safari 2 (although there are some minor rendering issues with Safari). |
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240825082459112-376424429.jpg)