Solved

invisible link

Posted on 1998-05-31
14
176 Views
Last Modified: 2010-04-09
hello,
  Here's my question. I would like to know how to add a link to my page that doesn't show the sites address to the link.
You know, like when you pass the cursor over a link and the address shows up at the bottom of the screen as with the netscape browser.I assume IE also does the same some where also. What I want to do it have a small pic of something on my page with a surprise link. I don't want people to know where it's going to take them till they click on it. Is this possible and how do I do it.

                           thanx
0
Comment
Question by:lonewolf
[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
  • 6
  • 3
  • 3
  • +2
14 Comments
 
LVL 8

Accepted Solution

by:
jhurst earned 20 total points
ID: 1844004
well you can't hide it completely assuming that you are only going to use HTML and Javascript since they can always View-Source.  However, you can solve the specific problem that you state here by using the onMouseOver.  For example:

<a href=http://www.yahoo.com onMouseOver="window.status='this appears'">
here is your secret link
</a>

0
 

Author Comment

by:lonewolf
ID: 1844005
Where exactly do I place the secret link? Example: My home Page of http://www.excel.net/~clewis/lonewo~1.htm  Also, does the
link have to be a valid one(http://www.yahoo.com)that is going to show during the pass over?In other words if I typed www.secret.com would that be ok?

<a href=http://www.yahoo.com onMouseOver="window.status='this
appears'">
 here is your secret link </a>

Should it look like this?
<a href=http://www.yahoo.com onMouseOver="window.status='this
appears'">
<a href=http://www.excel.net/~clewis/lonewo~1.htm></a>

      Thanx
0
 
LVL 8

Expert Comment

by:jhurst
ID: 1844006
I don't understand fully:

On the matter of the secret.com:  If you want you link not to be a real one then why do you want a link.  I assumed that you wanted a link to something else.

I suggest that you look at the documentation on onMouseOver or feel free to ask more detail here.

0
Independent Software Vendors: 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!

 

Author Comment

by:lonewolf
ID: 1844007
Hello, I see that my last repl to this got lost. I will do it again. I do want the link to be a real active link. I just didn't know what you ment. here is the link I would likt to use. Please show me how it should look in html text. I didn't understand the mouse over bit.
http://www.excel.net/~clewis/lonewo~1.htm
0
 
LVL 4

Expert Comment

by:martinag
ID: 1844008
Here's how it works:

<A HREF="http://www.excel.net/~clewis/lonewo~1.htm" OnMouseOver="window.status='this appears'; return true;">Very secret. Do NOT click here!</A>
0
 
LVL 3

Expert Comment

by:bigelos
ID: 1844009
If you wanted to use an image as your link, use

<A HREF="http://www.excel.net/~clewis/lonewo~1.htm" OnMouseOver="window.status='this appears';return true;"><img src="your_image.jpg" border="0"></A>

0
 

Expert Comment

by:auggy
ID: 1844010
Let's say you type in: <A HREF="http://www.excel.net/~clewis/lonewo~1.htm"><img src="Tree.jpg" border="0"></A>

When the cursor passes over the image called Tree.jpg, at the bottom of the screen, it will say something like 'http://www.excel.net/', which is what you do not want. But if you type in:

<A HREF="http://www.excel.net/~clewis/lonewo~1.htm" OnMouseOver="window.status='Secret';return true;"><img src="Tree.jpg" border="0"></A>

'http://www.excel.net/' will not appear at the bottom of the screen. What will appear is the word 'Secret'. In that way, people would not know what link it will lead to until they click on the Tree.jpg image and reaches the next site.
0
 

Author Comment

by:lonewolf
ID: 1844011
thanx,sorry about the time.
0
 

Author Comment

by:lonewolf
ID: 1844012
I'm confused. The last person to answer my question was auggie? Why doesn't the system credit that person? Am I suppose to refuse the questions and open the question back up if I wanted to credit someone other than the first person that answered the question?Would some one explain the ediquete here.
0
 
LVL 8

Expert Comment

by:jhurst
ID: 1844013
If you did not mean to accept my answer and feel that someone else should have got the credit, and they really want the points, then let me know.  I do not believe that anyone really answers these questions for the points.  I certainly don't.
0
 
LVL 3

Expert Comment

by:bigelos
ID: 1844014
And to add to all the confusion, jhurst's answer was the correct one.  Auggy simply restated it.  So, lonewolf, what you might have done by mistake was correct, for all intents and purposes.
0
 

Author Comment

by:lonewolf
ID: 1844015
No no, it wasn't a mistake. I understood the answers. I just didn't understand the why and how of the grading system. And I didn't really need bigelos to try to point out my ignorance. As for the answer, yes jhurst answered it, by not the follow up question. That auggie did very well.That is the answer I was looking for.jhurst desirves the points for the correct answer. It just raised another question to me, how would I have to deal with the situation if I wanted to give the points to someone else.A mistake on my part in how I worded the last question. I didn't use enuff ifs in the question.How ever the one if in the question should have helped to clue everone in as to what I was getting at.
0
 
LVL 3

Expert Comment

by:bigelos
ID: 1844016
To give someone else the points, they first have to "answer" the question.  You will notice that every post is a comment, except for the answer.  Of course, there can be only 1 answer at a time.  To let other people answer, to have to first open the question up to other experts.  You can do this via the grading interface.  (It is the last option).

For more information, take a look at:
http://www.experts-exchange.com/info/howto.htm
and scroll down to "An expert answers".
0
 

Author Comment

by:lonewolf
ID: 1844017
Thankyou,bigelos......sorry about the jab!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

726 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