Try the attached Ray.
Printable View
Try the attached Ray.
Egg,
That is a work around that could be used. However, with this method of using a place holder, it does not lend itself to having a link in a block of text.
I still would like Xara to see if they could address this. It does seem that it should be easy to implement, especially when you see how they have implemented the target= function.
Thanks for your ideas on this.
Ray
Totally agree Ray, just a workaround at present.
Attached is an example of the link embedded in a block of text. Not ideal I know ;)
An example of workaround for a button would be to place the link address to the image alt text and a # to the link address as well as a name htlmclass=no*follow to the button. Then add this code to the page body
Before the code is execued a link to itself is seen without the rel="nofollow" attribute and after the code is executed the rel="nofollow" attribute is set and the link address is changed to the alt attribute of the image.Code:<script>
var n=document.getElementsByClassName("no*follow");
for (var i=0;i<n.length;i++){
var t=n[i],p=t.parentNode;
if (t.tagName=="IMG"){
if (p.tagName=="A"){
if (p.getAttribute("href")=="#"){
p.rel="nofollow";
p.href=t.alt;
}
}
}
}
</script>
Would attach an example file if I could.
Acorn, one way or the other. Google should never be able to follow the link.
Before the script is executed the link is to #
After the script is executed the link has a rel="nofollow" attribute.
Maybe an example explains what I am talking about (and I can attach from this computer) :).
If you export to file you will see <a href="#" onclick="return(xr_nn());"> in it.
This will be modified to <a href="http://google.com/" onclick="return(xr_nn());" rel="nofollow"> by the script.
None of these should allow google to follow the link.
My first attempt was to dynamically create an <a> element, simulate a click and immediately remove it (which also worked), but this method seemed to be more straight forward to me.
I wanted to bring this back up that we could really use a "no follow link" option to the software. I still believe this would be very easy for Xara to add to the software. This is something I have found that can be easily done in other software, Xara should not be limited to only follow link options.
Google still frowns on certain follow links if they are not "no follow"
Ray