PDA

View Full Version : How Do You Use Javascript Links?



incka
12-23-2003, 03:07 PM
Can someone give me an example code of javascript links?

Once again google is ignoring my robots.txt file...

chromate
12-23-2003, 03:12 PM
They've been mentioned a number of times. Just do a search back through the SEO forum.

Mike
12-24-2003, 03:44 AM
http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=javascript+links

incka
12-24-2003, 04:46 AM
Mike's thing had too many irrelevant thing on it and I can't be bothered searching through this forum...

I'm going to ask on site point if this lack of help carrys on...

Mike
12-24-2003, 04:55 AM
You asked just after ten last night, and you expect someone to reply with a great answer immediately? It's christmas for god sake, not everyones got time for answering little questions that have been asked before.

You should be greatful for having access to such a great site.

chromate
12-24-2003, 05:01 AM
http://www.websitepublisher.net/forums/showthread.php?s=&threadid=651

That post was made less than a week ago.

... I clicked on search and typed in "javascript links". Really hard (!)

Mike
12-24-2003, 05:04 AM
lol, I would have thought trailing over to sitepoint and posting a new thread would have taken longer;)

incka
12-24-2003, 05:07 AM
Thanks chromate...

document.write('<a hr' + 'ef="http://w' + 'ww.website.com">click here</a>');


I'll keep that there for future refrence...

r2d2
12-24-2003, 01:17 PM
Just been trying this, and think I'm gonna make a JS function which just does this:

document.write("<a hr")
document.write("ef=")

Then call the function rather than writing '<a href=' wherever I need to link a page I dont wanna "vote" for..

kdb003
12-24-2003, 02:25 PM
i believe those would be totally unusable to people who don't have javascript enabled. why don't you try blocking a server side redirect page with robots.txt instead(if you can get bots to listen to it).

Mike
12-24-2003, 02:34 PM
I prefer blocking pages as well kdb003, there doesn't seem to be as much risk as with javascript links (with people having it enabled and such).

r2d2
12-24-2003, 07:29 PM
Could do, but wont Google still count the link, even though it cant visit the page. Eg a lot of pages have PR => 1 but arent listed in Google...

I want to get the number of links Google counts on my page down...

Ronny
12-25-2003, 03:09 AM
I'm joining r2d2's question - OK, with server-side redirect page I can be sure that I'm not voting for other sites, but I still want to reduce the number of links on the page for a better weight of each "important" link. Maybe forms is the answer?

r2d2
12-25-2003, 06:18 AM
Yeah, you might be giving your PR to your own site, but whats the use of PR on a page which redirects to another site?

Now Im thinking that redirect pages achieve nothing.

incka
12-25-2003, 08:19 AM
I agree...

I can't believe I'm working on my sites on christmas day... I could never be a Jew and not be able to work on sundays... I'm addicted to working...

Edit: I'm going to spend a few minutes browsing Chris' sites as a break...

Mike
12-25-2003, 12:12 PM
Yay, you've learnt to use the edit button:D

I may work later tonight, but for now I'm happy messing around with presents:)

incka
12-25-2003, 12:56 PM
I've been working thoughtout the day and don't intend to stop...

I'm tired stiff but what they hey, I might make some money eventually...

Mike
12-25-2003, 02:10 PM
Christmas day will be the only day I don't work on sites, at all I think. I mean, being dedicated is good, but life isn't all work!

Just my opinion mind.

incka
12-25-2003, 04:14 PM
I scored 25/25 on the enterprenueral test... You scored 22/25... And this is why...

Mike
12-26-2003, 03:47 AM
I don't have to work on Christmas day. I'm probably making more than you now anyway.

I'm not prepared to go into another pointless argument with you either.

incka
12-26-2003, 11:15 AM
Yes, I don't feel like pointless arguments either... I've got work to be done... I'm multi-siting at the moment (meaning working on several sites)...

r2d2
12-26-2003, 11:47 AM
workaholic <> enterprenuer ;)

The true enterprenuer knows how to keep PR on his site on useful pages. :p

Mike
12-26-2003, 12:06 PM
Originally posted by r2d2
The true enterprenuer knows how to keep PR on his site on useful pages. :p

I don't get you?

chromate
12-27-2003, 05:03 AM
Originally posted by Mike
Christmas day will be the only day I don't work on sites, at all I think. I mean, being dedicated is good, but life isn't all work!

Just my opinion mind.

I agree. :)

incka
12-27-2003, 06:32 AM
Originally posted by Mike
I don't get you?


Ditto


And his site doesn't have any PR...

Mike
12-27-2003, 09:43 AM
It could have been about 3B Games actually. Unless he was on about me?

r2d2
12-27-2003, 03:22 PM
Originally posted by Mike
I don't get you?

Ah no! Sorry guys wasnt meant to say you didnt know about PR! Absolutely no disrespect meant! Thats the problem with text conversation I guess :( Cant represent tone of voice...

Was just meaning the conversation had gone a bit off topic!! Was trying to get back to the topic of Javascript links! Trying to get help here, and I dont believe sarcasm would be the best way to go :eek:

r2d2
12-27-2003, 03:28 PM
Originally posted by incka
And his site doesn't have any PR...

Not even in the Google index yet :rolleyes:

Have just had to move TLD so want to get everything sorted before Google comes in...



Edit: And the useful pages thing just meant not giving it to redirect pages - where PR is effectively useless I ges...

And yeah, absolutely no disrespact meant!! Its Christmas!

Edit 2: Obviously interested in what other webmasters think of my site, so was wondering what you guys thought? Any suggestions of things iv'e missed or anything etc??