
When calling a JavaScript function with clickfunction=, onfunction=, offfunction=, etc., how do you specify "return false"? I have a stylesheet switching menu that I'm working on (which you probably already know if you've read my other posts) that worked fine in version 3, but I'm having trouble establishing the same functionality in version 5. The reason I'm even migrating to 5 on this site was because it's easier to relatively position on the page.
When the menu drops down and the user clicks an option, the stylesheet changes and the user can see the page change. In FF it works fine. The menu stays open and allows the user to select another option and doesn't close until the mouse actually leaves the menu area. In IE6, however, the page reloads everytime an option is clicked. I was going to try adding a return false to the clickfunction, but can't figure out how to do it, since it requires another semi-colon. Am I looking in the wrong place? Does anyone know how to accomplish this? You can see the current version at http://www.icapsvitamins.com