Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Linking

  1. #1
    New Coder
    Join Date
    Jan 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Linking

    I would like to use a javascript that opens a separate window that is not indexed by a SE. Here is what I am using. The class is for a css rollover link.


    <a href="whatever.html" onclick="void(window.open(this.href,'','')); return false;" class="color"> requirements</a>

    Is there a javascript I can put in a separate file, have the css rollover, not be indexed, and show just the url to the other web sites when the mouse moves over it?

  • #2
    New Coder
    Join Date
    Jan 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    never mind. I figured something out that is not exactly what I wanted, but it works.

  • #3
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    For people who might come across this post and want to do something similar, a real quick and easy solution would be to have a normal link, but on the page you don’t want to have indexed by a search engine, you would add this META tag in the head:

    Code:
    <META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
    You could also make your robots.txt file block access to those pages.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •