
11-09-2004, 04:32 AM
|
|
SEO Junior and a half
|
|
Join Date: May 2004
Posts: 94
|
|
Quote:
|
Originally Posted by mattmdesign
Hi,
does anyone know of a good tutorial or any site (or the code would be fine ) that tells you how to put javascript in your links so that no PR is passed?
|
I won't comment on whether or not it will or will not pass PR, but here's some simple code:
In the header of your html page:
Code:
<script src="mycode.js" type="text/javascript"></script>
Where you want the link in your html page:
Code:
<script type="text/javascript">link()</script>
In your external javasript file (e.g. mycode.js):
Code:
function link()
{
link='<a href="http://www.mylinkspot.com/page.html">My Link Spot</a>';
document.write(a);
}
|