On mouse hoover page move


I need a script which will move to a certain position in the website when it is hoovered by the mouse

I have this not working-bad script:

<a href="http://www.w3.org/" onmouseover="<a href="#anynameyoulike">">W3C</a
  <a name="anynameyoulike"></a>

Thanks in advance!

That’s not an advisable thing for a link to do, but try this:

<a href="http://www.w3.org/" onmouseover = "location.href = '#anynameyoulike';">W3C</a>

Just a refinement - that should be an identifier reference that’s assigned to the location:

<a href="http://www.w3.org/" onmouseover = "location.href = '#any[color="green"]id[/color]youlike';">W3C</a>