?
Solved

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

Posted on 2007-03-17
4
Medium Priority
?
433 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

777 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