Quote:
|
Originally Posted by bratwebdesign
If you are going to use DHTML and javascript its best to have it in an external file. That way the search spiders don't have to go through all of the useless coding.
|
Whoops sorry bratwebdesign that is wrong! It doesn’t matter if the JavaScript is on page or in an external file. What matters in terms of Search Engines is that the HTML still has a “a” tag with the “href” attribute visible in the HTML. Pure JS will not work. To make the markup semantically correct display the menu as a list item in the HTML and use CSS to style it with some JavaScript if you really needed it.