Found a good thread over at SEW forums this morning that asks about particular types of drop down menus? Which are better CSS DHTML menus or Java Script menus. For the search engines the natural answer is CSS menus. They are easily spidered by the search engines and present a wide variety of options enabling the webmaster extra benefit in its use. Orion, responds that "hand-coding the menus populated with links right after the body tag and then repositioning the menu to be displayed where you want them not only improves link relevance but facilitates the crawler finding right away the links". Another member gives some good advice that while Google may read Java Script to some extent there are many other search engines that will not, so it best to use CSS for this.
An interesting argument I hadn't heard before was brought up about the CSS and JS menus. Apparently one of the member says that in some CSS drop downs use java script to just change divs from visible to hidden. So essentially your site is going to have:
- invisible div layers - transparent gifs (to trigger the visible / hidden functions) - link text inside divs with parameters that says hidden.
Hmm, not exactly what most people want. I use CSS menus in some of my site, and I don't run into this particular problem, nor am too extremely worried about it if I did. It does look like old school spam tactics, but then again its really not and while as one member relates a "stupid spider" might not understand I am not following the argument that it could put you at some risk. I guess the best way to find out would be to test it.
Continue discussing JS and CSS Drop Down menus at SEW Forums.