Solved

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

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
asp Google Map 2 92
Adding items to a C# list incrementally 5 82
Keyup listener getting fired on initial page load 1 52
In wordpress, how did they do that? 3 14
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

734 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