Ask Experts Questions for FREE Help!
Ask    ||    Answer
 
Advanced  
 

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Markup Languages > HTML   »   onmouseover message on status bar

 
Thread Tools Search this Thread Display Modes
Question
 
 
#1  
Old May 22, 2009, 05:46 PM
Dufushipster
New Member
Dufushipster is offline
 
Join Date: May 2009
Posts: 3
Dufushipster See this member's comment history on his/her Profile page.
onmouseover message on status bar

I'm trying a simple excercise in javascript that's supposed to make the phrase "Dangerous color" appear in the status bar when I onmouseover the "Link," but instead, the phrase "Dangerous color" changes to "file:////C:dave/Other/Computer/somelink.html" (which is the file name where I have this simple program saved) when I onmouseover the "Link." Do I have a computer virus doing this or is it actually doing what I'm telling it to do?

Program:
<A HREF="somelink.html" onmouseover="document.bgColor='#FF0000';window.sta tus='Dangerous color'" onmouseout="document.bgColor='#FFFFEE'">Link</A>

Again, when I put my mouse over the word "Link," the phrase phrase in the status bar changes from "Dangerous color" to "file:////C:dave/Other/Computer/somelink.html". How do I get the phrase "Dangerous color" to appear on the status bar when I onmouseover "Link," and then disappear when I onmouseout the "Link"?

And by the way, did I post a javascript question in the right place?

Reply With Quote
 
     

Answers
 
 
Old Jun 8, 2009, 07:35 PM   #2  
Outdoor Power Equipment Expert
crigby is offline
 
crigby's Avatar
 
Join Date: Sep 2008
Location: NC
Posts: 1,676
crigby See this member's comment history on his/her Profile page.
Hi,
I believe that the correct item to use is window.defaultStatus according to the HTML DOM.
Peace,
Clarke
  Reply With Quote
 
     

Your Answer
Email me when someone replies to my answer
Join Login





Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

 
Similar Sponsors


Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Similar Threads
Who can know about visiting canada with B1, B2 status can be chnged in to F1 status?
(2 replies)
Internet explorer status bar shows "waiting for." message, page doesn't load
(8 replies)
H1-B Filling status still hanging.any idea of final date of status being open ?
(0 replies)
onmouseover w/flash video
(1 replies)
What Status should I file tax since my status changed from F1 to H1 from Oct 23 2006!
(1 replies)

Search this Thread

Advanced Search

Bookmarks

Sponsors



Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 01:12 AM.