homepage Welcome to WebmasterWorld Guest from 23.22.194.120
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
How can I make a link that cant be followed by a se
for links pointing away from a site
zeus




msg:937553
 12:14 pm on Nov 25, 2002 (gmt 0)

Im not that much into javascript, but I think I need something like that.

The problem is if you have to many links to affiliate or other sites the PR will go down on those sites, so I need a link that will not be followed by a search engine, how could such a link look like.

thanks

zeus

 

korkus2000




msg:937554
 12:33 pm on Nov 25, 2002 (gmt 0)

<script>
function hiddenLink(){
window.location="http://someplace.com";
}
</script>

<a href-"javascript:hiddenLink()">Link</a>

zeus




msg:937555
 12:43 pm on Nov 25, 2002 (gmt 0)

<script>
function hiddenLink(){
window.location="http://someplace.com";
}
</script>

<a href-"javascript:hiddenLink()">Link</a>

in the first script I just replace the text in " "

and no.2 I replace link.

thats great thanks

zeus

I have a little trouble here

what if I whant to have the script link going from a picture?

question 2: when I change link with a real link the link showes up on screen.

Example:

Matrix as text with link

or Matrix as a picture with link in the picture.

zeus

[edited by: zeus at 1:21 pm (utc) on Nov. 25, 2002]

korkus2000




msg:937556
 12:45 pm on Nov 25, 2002 (gmt 0)

I miss typed

<a href-"javascript:hiddenLink()">Link</a>

should be

<a href="javascript:hiddenLink()">Link</a>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved