Forum Moderators: open

Message Too Old, No Replies

Will SE penalize for loading frames with javascript?

         

Asmodean

2:47 pm on Feb 8, 2001 (gmt 0)



--------------------------------------------------------------------------------
Hi.
I have a frames page and a lot of pages I want indexed. But I want the visitor to be able to se my menus and stuff in the oter frames.
I found a javascript at [searchenginewatch.internet.com...] But my question is - will SE penalize for using this script?

<SCRIPT LANGUAGE="JavaScript">
<!--
if (top == self) self.location.href = "index.html";
// -->
</SCRIPT>

Thanks in advance

tedster

6:00 pm on Feb 8, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the forums, Asmodean :)

I have several well ranked frame pages that use similar javascript, so my experience says you should be fine. It's a very legitimate form of redirection, just like browsers sniffing, so the search engines should have no problems.

I suggest having the script in an external .js file, for lots of reasons. Keeps your page cleaner, and so far, no Search Engines do any widespread inspection of js files, so it's a second level of safety.

A spokesman for Google said last week that they "reserve the right to parse your javascript", but they aren't doing so at present.

mivox

8:24 pm on Feb 8, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've also used the same .js on sites before, with no ill effects that I noticed.

I've even used that particular js as a substitute for a META Refresh (which I hear the SEs *don't* like), although that may not be the wisest or safest thing to do...

Asmodean

5:14 pm on Feb 12, 2001 (gmt 0)



Thanks a lot for your answers.