Solved

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

Posted on 2007-03-17
4
405 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This video teaches users how to migrate an existing Wordpress website to a new domain.

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now