Forum Moderators: open

Message Too Old, No Replies

Javascript links readable.

Are certain java links less detectable than others.

         

KayENT

5:03 pm on Jul 6, 2003 (gmt 0)



I am working on a site in which I want to limit the number of links that Google will spider on my pages. I have been told that Javascript links can not be read.

After reading through some of this forum's threads, I have come across the idea of external java links. I've been on some authoring forums and relize that I am writing links in three different ways.

1.<span class="navigation" onclick="window.location='http://www.url.html'" onmouseover="javascript:window.status='http://www.url.html';this.style.textDecoration='underline'" onmouseout="window.status=' ';this.style.textDecoration='none' ">Link Text</SPAN>

2. <SPAN class=navigation
onmouseover="javascript:window.status='http://url.html'; this.style.textDecoration='underline'"
onclick="window.location='http://url.html'"
onmouseout="window.status=' ';this.style.textDecoration='none' ">Link Text</SPAN>

3. This one involves a script in the header.

<SCRIPT language="JavaScript">
<!--hide

function newwindow(linkid)
{
window.open(linkid,'jav','width=300,height=200,resizable=yes, scrollbars=yes, width=750,height=500');
}

//-->
</SCRIPT>

...then in the body:

<a href="javascript:newwindow('http://www.url.html')"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Link Text</font></a>

So, all three work fine on the actual page. The big question is, will Google recognize them, because I don't want them recognized. Should I try the idea of the external Java file?

Thanks,

Jon