Solved

rel="nofollow" where to place in pop up window link?

Posted on 2007-03-17
4
413 Views
Last Modified: 2010-07-27
<a href="javascript:emailwin=window.open('http://www.mywebsite.com?accountid=102262','Email','width=700,height=489,toolbar=no,statusbar=no,location=no');emailwin.focus();"><img src="../images/agent_contactinfo.gif" alt="Contact Info" width="109" height="21" border="0" /></a>

The link above is for a POP UP window that has contact info and form. WHERE is the correct place to put the NOFOLLOW code? To clarify, I mean the rel="nofollow" attribute. I do not want search engines to crawl to this link.

0
Comment
Question by:gplemos
  • 2
4 Comments
 
LVL 30

Expert Comment

by:Steggs
ID: 18743237
Hello,

The correct place to put the rel="nofollow" is inside the <a> tag:

<a href="javascript:emailwin=window.open('http://www.mywebsite.com?accountid=102262','Email','width=700,height=489,toolbar=no,statusbar=no,location=no');emailwin.focus();"><img src="../images/agent_contactinfo.gif" alt="Contact Info" width="109" height="21" border="0" rel="nofollow" /></a>

Regards
0
 

Author Comment

by:gplemos
ID: 18745698
<a href="javascript:emailwin=window.open('http://www.mywebsite.com/accountid=102262','Email','width=700,height=489,toolbar=no,statusbar=no,location=no');emailwin.focus();" rel="nofollow">Contact Me by Email</a>

What about in a situation like above where there is NO IMG? Is the location where I put rel="nofollow" correct?
0
 
LVL 30

Accepted Solution

by:
Steggs earned 125 total points
ID: 18750314
Oops! my example is wrong.

rel="nofollow" always goes in the <a> tag, never in an img tag

<a rel="nofollow" href="javascript:emailwin=window.open('http://www.mywebsite.com?accountid=102262','Email','width=700,height=489,toolbar=no,statusbar=no,location=no');emailwin.focus();"><img src="../images/agent_contactinfo.gif" alt="Contact Info" width="109" height="21" border="0" /></a>
0
 

Expert Comment

by:informabiz
ID: 32338221
thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to count occurrences of each item in an array.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question