Welcome to WebmasterWorld Guest from

Forum Moderators: Robert Charlton & aakk9999 & andy langton & goodroi

Message Too Old, No Replies

DHTML Menus, JavaScript and Indexing

8:07 pm on Nov 2, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Jan 5, 2004
votes: 0

I would like to use DHTML menus on a new site, but wonder if it will cause any problem for google if the link code includes javascript OnMouseOver event. Something like:

<a OnMouseOver="exMNS(m1,'m1mn0',event)" OnMouseOut="coMNS(m1,'m1mn0')" id="m1tlm0a" class="m1CL0" href="http://www.domain.com/thepage.htm">

Would this cause any problems with regard to transferring page rank or in indexing the 'thepage.htm' page? In other words would google treat it any differently than:

<a href="http://www.domain.com/thepage.htm">

3:47 am on Nov 3, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
votes: 0

It looks to me like that script just changes the visibility of the divs that hold the various submenus. That's not something that hides the actual links from Google.

Notice that the actual anchor tags are straightforward html (<a href="/filename.htm">. That is, they do not call other javascript to pull link elements out of an array or something like that. So, there's no problem here whatsoever.