Does google follow javascript menu links?

Discussion in 'Google' started by Christopher, Jul 12, 2008.

  1. #1
    I'm considering using this script on my site:

    http://javascript-array.com/scripts/simple_drop_down_menu/

    does google follow/index links in a script like this?

    If not, would a table of links in a noscript tag be followed (or recommended)?

    Thanks, Chris
     
    Christopher, Jul 12, 2008 IP
  2. rainborick

    rainborick Well-Known Member

    Messages:
    424
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    120
    #2
    Yes. The JavaScript for this menu system is only altering the visibility of the links for the user. The links themselves are contained in standard <a>nchor tags and will be treated normally because search engine robots do not rely on CSS and do not execute embedded JavaScript code.

    The only time that JavaScript would prevent a link from counting in the search engines is if the URL for the link was generated by the JavaScript and was not simple HTML code. Google will scan JavaScript for complete URLs and will use those URLs to find new pages, but they are not counted as links and do not pass on any ranking benefits.
     
    rainborick, Jul 12, 2008 IP
    Christopher likes this.
  3. Christopher

    Christopher Peon

    Messages:
    482
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I understand. Thank you for taking a look at this, Chris
     
    Christopher, Jul 12, 2008 IP