I am working on a website where I need the drop down menus (as modified based on: http://www.dynamicdrive.com/dynamici...pmenuindex.htm ) to have items that expand with another dropown menu to the right (similar to the one under "Resources" "News Related >"shown here:http://www.dynamicdrive.com/dynamici...anylinkcss.htm). As I am not a professional programmer I would need all the help I can get (e.g. a complete sample script based on what I have as shown below).
Thank you.
... and so onCode:var menu1={divclass:'anylinkmenu', inlinestyle:'width:100px; background:#C0C0C0', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name! menu1.items=[ ["Home sample", "/TEST/sample0.shtml"], ["Sample 1", "/TEST/sample.shtml"], ["Sample 2", "/TEST/sample2.shtml"], ["Sample 3", "/TEST/sample3.shtml"], ["CNN report", "/TEST/sample4.shtml"], ["Stemcell story", "/TEST/sample6.shtml"], ["FUNNY", "/TEST/sample5.shtml"] //no comma following last entry! ] var menu2={divclass:'anylinkmenu', inlinestyle:'width:100px; background:#C0C0C0', linktarget:''} //Second menu variable. Same precaution. menu2.items=[ ["Home sample", "/TEST/sample0.shtml"], ["Sample 1", "/TEST/sample.shtml"], ["Sample 2", "/TEST/sample2.shtml"], ["Sample 3", "/TEST/sample3.shtml"], ["CNN report", "/TEST/sample4.shtml"], ["Stemcell story", "/TEST/sample6.shtml"], ["FUNNY", "/TEST/sample5.shtml"] //no comma following last entry! ]



Reply With Quote

Bookmarks