Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Status bar text for a link

Posted on 1998-06-29
4
Medium Priority
?
144 Views
Last Modified: 2010-04-09
http://www.huron.net/~jlewis/new/index.htm is where I'm keeping the pages I'm working on.  In the main navigation frame I have links that change color when the mouse moves over the links.  When clicked on, two frames change.  i want to know if there is a way to have something show in the status bar instead of the actual link.  For example, I'd like something like "Jeffs personal pages" appear in the status bar instead of the js stuff.
0
Comment
Question by:treyjeff
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
Holger101497 earned 90 total points
ID: 1844437
This one's fairly simple, so I'll keep it short...

Do it like this:
<a href="http://www.huron.net/~jlewis/new/whateverpage.html" onMouseOver="self.status='Jeffs personal pages';return true" onMouseOut="self.status=' ';return true;">My personal pages</a>

This is used on many pages, but most of them forget the "onmouseout" to clear the status bar when the user "leaves" the link...

Good luck!
0
 
LVL 1

Author Comment

by:treyjeff
ID: 1844438
Take a look at it, the status bar keeps putting the stuff I don't want there.
0
 
LVL 6

Expert Comment

by:Holger101497
ID: 1844439
well...
1) works for me: displays "Jeffs personal pages"
2) I guess you're using IE 4? I don't have that installed to test and probably won't before I have a hard disk to spare.
2a) the changing of link colors onmouseover doesn't work in Netscape
2b) Obvisouly, it interferes with with the link's onmouseover... of course, your <FONT>-tag's onmouseover is nested in the link's onmouseover... I'm not sure which one overrides which one...
3) There are some mistakes in your code... If you have Netscape, use "View source" and you'll see what I mean (syntax highlighting), e.g.
onmouseover="this.style.color = '#ffffff'", "window.status='testing'" OnMouseOver="window.status='See our personal pages here!'"

the double quotes after '#ffffff' close the event handler. Isn't the handler defined twice??
Try experimenting with the FONT's onmouseover-handler... try returning treu from the handler...

Let me know if that helps...
0
 
LVL 1

Author Comment

by:treyjeff
ID: 1844440
You're right, it shows in Netscape but not IE for some reason.  As for the code errors in this case, it's because I was testing things out.  
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

972 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