dHTML Drop Down Menu Tutorial - Appendix C
Frquently Asked Questions
The tutorial is based on code that I've written for my own use when building sites at work or for freelance clients. There are many other drop-down systems available, but I find it easier to implement code I've written myself. The original drop down code was created as an "in at the deep end" project to teach myself dHTML long ago in the distant past.
Writing the tutorial has taken a lot longer than creating the code, but has been fun to do and will hopefully be of use to someone out there. top
This new tutorial is based around code written from scratch and bears little resemblance to the previous tutorial.
It's FREE. Well almost. If you use the code from the tutorial in a commercial site or for paying clients, I'd politely request that you make a donation to my site (use the button on the left of each page). The tutorial and the accompanying code is the result of a great deal of hard work (well over a hundred hours) and keeping things up to date takes additional time in which I could be doing other work. top
Not really. I'll be updating the pages and the code in the future and will try to incorporate changes resulting from feedback. Please feel free to email me if things aren't explained properly, if you find bugs, or if you'd like to see additional features. I can't promise to reply to everyone. If you need a menu system built specifically for your site, please contact me for a quote. top
No, but I've tried build the code in a way that makes adding new types of menus as easy as possible. One day I hope to add image-based menus but that may not happen until I need to use them in a site. top
Sure. Email me for a quote. A simple menu system could cost as little as £50GBP. top
No. If I ever build a site with frames, I may look into this. It's unlikely to happen really. top
No, well yes. It depends on the browser your visitors are using. IE6 will display DIVs over most things (apart from combo boxes), but Mozilla puts flash animations in front of other elements on the page. Unless you're designing for an intranet and know what browser will be used, make sure the menus don't overlap iframes, forms, flash or other plug-in elements. top
Of course. Email me to suggest questions. As before, I can't promise to include all of them or reply to everyone. top
You can.
To change the target use...
menus[1].targetType = 'new';
menus[1].targetFrame = '_blank';
then add your menu item....
menus[1].addItem('menuItemBullet', 'bbb', null, 135, '#ff9933', '#ff9933', 'test2.asp', 'left');
Change the target back to default...
menus[1].targetType = 'self';
menus[1].targetFrame = '_self';
top
|