nofollow links in Java Script
- SEO |
I have a piece of code that has a hidden div in it with the nofollow attribute appended to a link like this:
$('body').html('');//empty body
$('body').html('<div id="fadeout">'+bodyContents+'</div>');//put contents in a div
$('body').append('<div id="popup"><img id="bg" src="http://mydomain.com/wp-content/themes/bluevibe/images/redirection_banner.jpg"/><a href="http://www.mydomain.co.uk/" rel="nofollow"><img id="clickhere" src="http://mydomain.com/wp-content/themes/bluevibe/images/click_here.gif"></a></div>');
$("#popup").center();
$( "#fadeout" ).effect("fade",{}, 3000);
Will this work? I do not want Google spiders to follow this link.
Cheers,
Seamy
-
kulwant2singh -
Thanks - 1 reply
{{ DiscussionBoard.errors[7744961].message }}-
seamy82 -
Thanks - 1 reply
{{ DiscussionBoard.errors[7767931].message }}-
yukon Banned-
[ 1 ] Thanks
{{ DiscussionBoard.errors[7768876].message }} -
-
-