|
The following file contains page elements and javascript that provide cross browser menuing capability. For simplicity, they are packaged together in an ASP "include" file in four sections:
- STYLE element. It should really appear in the page's HEAD element.
- Top level menu. If using absolute positioning, keep it with the menu sets. To set absolute positioning, add a style attribute to the TopMenu DIV setting position, top and left. Toggle between relative and absolute
- Menu sets. Their content on this page betrays my fondness for Notepad as a web development tool. Since menu sets are absolutely positioned, place them somewhere out of the way.
- Javascript. This has been tested on Windows XP with current IE, Firefox and Opera browsers. It has also been tested on Mac OS X (briefly, at the Apple store in King of Prussia mall) with the current Safari browser.
Let me know how it works for you. Email: joel.pearson@pearsontechnology.com (mailto)
Download instruction: right click on the File link and "save target/link as..."
PtcDhtmlMenu... [ File ]
Back to Useful Stuff
|