sward
03-30-2004, 06:13 AM
Hi all, I am thrilled to find the great quality site and forum. I've been a fan of seochat for about 2 years off and on and needed to expand. That may have been where I found you in the first place with a link to the article Channeling pagerank. I am self taught old school (no flash CCS etc on my sites ) I do use Dream Weaver to build most of my pages with of course HTML corrections. Learned enough javascript and cold fusion to get by. Okay with that in mind on your http://www.seo-guy.com/pagerank-articles/channeling-pagerank.html (http://www.seo-guy.com/pagerank-articles/channeling-pagerank.html)
gives what I thought would be a simple script
<SCRIPT java function nofollow(n) { document.location.href=n; }
</script>
And then, call links like this:
<A HREF="java script:nofollow('another-page.html')"></a>
But when I tried it by placing the first part in my header and 2nd where the link was located it erases my whole page. I'm sure I am just doing something wrong.
I did place my pages like this
<SCRIPT java function nofollow(n){community/community.htm.href=n;}</SCRIPT>
<a href="java script:nofollow('community/community.htm')<a>
which obviously is wrong. If anyone can clarify my problem I would be thrilled. All I need is to understand how the script is written once and I can figure out the rest. A site example that has visible source code would also be helpful.
Which leads to a different question how do you hide source code from showing up? I am one of the highest ranking sites for my keywords( a very local type site in real estate) But a new guy has come to town and is signing up all the local realtors promising the world for a very high fee, then I see he is just coping my code and methods without knowing why I do well. in otherwords he is not getting the results he promises and I am not looking to expand my business so I don't care Just think he ought to do the legwork ! :rolleyes: opps sorry for the tangent
Sward :)
gives what I thought would be a simple script
<SCRIPT java function nofollow(n) { document.location.href=n; }
</script>
And then, call links like this:
<A HREF="java script:nofollow('another-page.html')"></a>
But when I tried it by placing the first part in my header and 2nd where the link was located it erases my whole page. I'm sure I am just doing something wrong.
I did place my pages like this
<SCRIPT java function nofollow(n){community/community.htm.href=n;}</SCRIPT>
<a href="java script:nofollow('community/community.htm')<a>
which obviously is wrong. If anyone can clarify my problem I would be thrilled. All I need is to understand how the script is written once and I can figure out the rest. A site example that has visible source code would also be helpful.
Which leads to a different question how do you hide source code from showing up? I am one of the highest ranking sites for my keywords( a very local type site in real estate) But a new guy has come to town and is signing up all the local realtors promising the world for a very high fee, then I see he is just coping my code and methods without knowing why I do well. in otherwords he is not getting the results he promises and I am not looking to expand my business so I don't care Just think he ought to do the legwork ! :rolleyes: opps sorry for the tangent
Sward :)