Javascript drop down menu

sitestem

Registered Member
Joined
Jun 12, 2013
Messages
53
Reaction score
7
Hi all,


I'm looking through a website which has a Javascript navigation to certain pages. From what I can tell, these pages are not linked to from anywhere else on the site - apart from through these drop down menus.


I've looked at the source and there is no mention of the URL anywhere - so the menu is relying purely on Javascript.


It looks as though the sitemap file is making sure that Google indexes these pages. I'm just wondering if this is enough? Or are the pages in question losing out because they don't have any "real" internal links pointing towards them, just a Javascript drop down?


Any help would be much appreciated.


Cheers.
 
Google announced a few months ago that they are able to crawl javascript activated content (I've seen many examples of indexed javascript activated content before, but there was no official confirmation from them until last May):

http://googlewebmastercentral.blogspot.ca/2014/05/understanding-web-pages-better.html

You can try to render the page using the "Fetch as Google" option in GWT to check if the crawler is able to see the menu.

In spite of the official announcement, I don't like to rely on javascript activated navigation very much so when optimizing a site I usually replace those kind of menus with html + CSS or at least place an alternative menu inside noscript tags.
 
Well what I would do in this case is place the whole linking structure within <noscript> tag may be. Pure Javascript menu is bad IMO.. You are better off using a menu which falls back when javascript is not available.
 
Hi friends you need to contact any java script expert.

Yeah, that is what he is doing here. Useless post.

OP: You are better off creating an html5/css3 menu and calling the javascript to perform a function.
 
Back
Top