PDA

View Full Version : Anylinkmenu,Search engines don't find links



mnvphotography
06-02-2010, 03:37 AM
Ok, My website is setup and I'm using anylinkmenu.js to display drop down links for my galleries (mnvphotography.com), but the problem is that Google can't find the internal links that the anylink menu displays.

How do I get search engines to find the links that the anylinkmenu.js displays?

Is there a way to "hide" the internal links so a search engine can find them, but not have them displayed in the browser?

Thanks, Mark

bluewalrus
06-02-2010, 03:42 AM
Robots don't read javascript (last I checked, I think that's still upto date though). Try the noscript tag for any javascript elements but write the html inside it that the javascript with output without its functionality, if that makes sense..

http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.3.1

ddadmin
06-02-2010, 05:40 AM
Have you looked at Anylink CSS Menu (http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm) instead? It's basically the same script as the one you're using, with the menu links defined as regular HTML markup instead (for SEO friendliness).

mnvphotography
06-03-2010, 02:35 AM
Thanks for the feedback... and the links.

djr33
06-03-2010, 02:55 AM
The question is answered, but as a general response, it is ALWAYS a good idea to have a backup to any 'fancy' element on a page. If you have a menu that relies on Javascript, Flash or even image maps and other complex elements, it is a good idea to have some plain text links somewhere on the page. The search engines will find these and people using unusual or old browsers will also have a way to navigate the page.

The fancy way is to have a non-JS fallback like described above, but in most cases what's the harm of having a couple extra links somewhere on your page? It may even help some users who are confused about navigation on your site.