Forum Moderators: open

Message Too Old, No Replies

Is this behavior permitted?

I think so...

         

joker197cinque

1:55 pm on Apr 28, 2003 (gmt 0)

10+ Year Member



I want to hide(for some reason) the head of my page.
I put an anchor like this <a name='mickey'></a> positioned where I want to scroll my page.

and this function

<added><script language='javascript'><!--</added>
function goDown()
{
document.location.href = document.location.href + "#mickey";
}
//--></script>

<body onLoad="goDown();">

U think the page with URL --> document.location.href (which is ranked very well) will be penalized/or so on?

Thx

jomaxx

2:15 pm on Apr 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Google ignores Javascript, and I can't think of any reason why this would cause a problem if the site was checked manually. Should be fine.

But this looks like the kind of hack that works best when loading pages from your home PC, or via a fast connection. You might want to test this over a modem to see if the redirect is too jarring. Plus some browsers may download the entire page again if they are not cacheing.

takagi

2:17 pm on Apr 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This should be OK, since JavaScript is ignored by Google. On the other side, if your page is checked for spamming (because of other tricks causing 'red flags' or because somebody reports your site as spammy), it might be seen as incorrect. Somehow I've got the feeling you want to hide for the users some <h1> tags with keywords at the top of your page. If so, you add the tags for the SE and not for the users. And that is something Google likes to penalize.

DaveN

2:21 pm on Apr 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



depends on whether somebody figures out what you a doing and tells GG.

although Matt Cutts at the last pubcon in Boston said that google can read the contents of Javascript to an extent ;)

DaveN