473,387 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

weep

<th class="box" colspan="4" align="center" style="cursor: default;" valign="middle">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ente r User ID and Password&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img id="img1" name="img1" src="controls.gif" usemap="#map1" align="absbottom" border="0" onmouseover="javascript:if (window.status == 'Help About...'){ window.status='Help About...'; } else if (window.status == 'Leave fast (sort of)'){ window.status = 'Leave fast (sort of)'; } else { window.status = 'Help About...'; } return true;" onmouseout="javascript:window.status=window.defaul tStatus; return true;/>
<map name="map1" onmouseover="javascript: return true; }" onmouseout="javascript:window.status=window.defaul tStatus; return true;">
<area tabindex="9" accesskey="/" shape="rect" coords="0,12,14,0" href="help.htm" target="_new"
onmouseover="javascript:window.status='Help About...'; return true;"
onmouseout="javascript:window.status=window.defaul tStatus; return true;"/>
<area tabindex="10" accesskey="x" shape="rect" coords="15,12,29,0" href="#"
onclick="javascript:self.close(); return false;"
onmouseover="javascript:window.status='Leave fast (sort of)'; return true;"
onmouseout="javascript:window.status=window.defaul tStatus; return true;"/>
</map></th>

Doesn't work. The status is not changed to what I am telling it to be it is always:

shortcut to help.htm or shortcut to #. There is no way to get JavaScript to work correctly in this regard. Using the normal rules of logic. Microsoft Internet Explorer 5.5 SP2 Windows 2000 SP2.

--
George Hester
__________________________________
Jul 20 '05 #1
9 1408
George Hester wrote:
shortcut to help.htm or shortcut to #. There is no way to get
JavaScript to work correctly in this regard. Using the normal rules
of logic.


Your logic has produced too much errors to mention. Take a close look at the
following example and take it from there:

<script type="text/javascript">
function statusMsg(msg) {
window.status = msg;
return true;
}
</script>
.....
<a href="help.html"
onmouseover="return statusMsg('Get Help')"
onmouseout="return statusMsg('')">test</a>
JW

Jul 20 '05 #2
In article <Ot********************@twister.nyroc.rr.com>,
he********@hotmail.com says...
<th class="box" colspan="4" align="center" style="cursor: default;" valign="middle">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ente r User ID and Password&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img id="img1" name="img1" src="controls.gif" usemap="#map1" align="absbottom" border="0" onmouseover="javascript:if (window.status == 'Help About...'){ window.status='Help About...'; } else if (window.status == 'Leave fast (sort of)'){ window.status = 'Leave fast (sort of)'; } else { window.status =

'Help About...'; } return true;" onmouseout="javascript:

You don't need JavaScript here, for starters.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Jul 20 '05 #3
On Sat, 10 Jan 2004 07:04:14 GMT, George Hester <he********@hotmail.com>
wrote:

<snipped code>
Doesn't work. The status is not changed to what I am telling it to be
it is always:

shortcut to help.htm or shortcut to #. There is no way to get
JavaScript to work correctly in this regard. Using the normal rules of
logic. Microsoft Internet Explorer 5.5 SP2 Windows 2000 SP2.


I don't know about anybody else, but for me, that HTML you posted came out
to be an unreadable mess. Please *format* your posts to make them at least
somewhat understandable.

Furthermore, as Mr Jenkins said, don't use

[event name]="javascript: ..."

to specify the language of your intrinsic events. That should be done with
a META element.

Finally, if you are using more than a couple of statements in an intrinsic
event, use a function rather than inline code. It's *so* much easier to
read, and therefore, to debug.

Mike

--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)
Jul 20 '05 #4
It don't work. Try your suggestion. Thanks.

--
George Hester
__________________________________
"Janwillem Borleffs" <jw@jwscripts.com> wrote in message news:3f***********************@news.euronet.nl...
George Hester wrote:
shortcut to help.htm or shortcut to #. There is no way to get
JavaScript to work correctly in this regard. Using the normal rules
of logic.


Your logic has produced too much errors to mention. Take a close look at the
following example and take it from there:

<script type="text/javascript">
function statusMsg(msg) {
window.status = msg;
return true;
}
</script>
....
<a href="help.html"
onmouseover="return statusMsg('Get Help')"
onmouseout="return statusMsg('')">test</a>


JW


Jul 20 '05 #5
thx

--
George Hester
__________________________________
"Hywel Jenkins" <hy**********@hotmail.com> wrote in message news:MP************************@news.individual.ne t...
In article <Ot********************@twister.nyroc.rr.com>,
he********@hotmail.com says...
<th class="box" colspan="4" align="center" style="cursor: default;" valign="middle">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ente r User ID and Password&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img id="img1" name="img1" src="controls.gif" usemap="#map1" align="absbottom" border="0" onmouseover="javascript:if (window.status == 'Help About...'){ window.status='Help About...'; } else if (window.status == 'Leave fast (sort of)'){ window.status = 'Leave fast (sort of)'; } else { window.status =

'Help About...'; } return true;" onmouseout="javascript:

You don't need JavaScript here, for starters.

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php

Jul 20 '05 #6
Try your suggestion. It doesn't work. Use an image map and see if you can get the status bar to change to what you want it to be when the mouse is over one of the areas of the map. It won't work.

--
George Hester
__________________________________
"Michael Winter" <M.******@blueyonder.co.invalid> wrote in message news:op**************@news-text.blueyonder.co.uk...
On Sat, 10 Jan 2004 07:04:14 GMT, George Hester <he********@hotmail.com>
wrote:

<snipped code>
Doesn't work. The status is not changed to what I am telling it to be
it is always:

shortcut to help.htm or shortcut to #. There is no way to get
JavaScript to work correctly in this regard. Using the normal rules of
logic. Microsoft Internet Explorer 5.5 SP2 Windows 2000 SP2.


I don't know about anybody else, but for me, that HTML you posted came out
to be an unreadable mess. Please *format* your posts to make them at least
somewhat understandable.

Furthermore, as Mr Jenkins said, don't use

[event name]="javascript: ..."

to specify the language of your intrinsic events. That should be done with
a META element.

Finally, if you are using more than a couple of statements in an intrinsic
event, use a function rather than inline code. It's *so* much easier to
read, and therefore, to debug.

Mike

--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)

Jul 20 '05 #7
George Hester wrote:
It don't work. Try your suggestion. Thanks.


Did some research and it appears that IE doesn't support this in maps. I
have found a nice workaround suggested by Laurent Bugnion from a previous
thread in this newsgroup, see:

http://tinyurl.com/3g9ko
JW

Jul 20 '05 #8
Janwillem Borleffs wrote:
Did some research and it appears that IE doesn't support this in
maps. I have found a nice workaround suggested by Laurent Bugnion
from a previous thread in this newsgroup, see:

http://tinyurl.com/3g9ko


However, it seems to work when you assign both the onmouseover and
onmousemove events. The onmouseover event should be assigned to support
Mozilla.

See: http://www.jwscripts.com/playground/status.php
JW

Jul 20 '05 #9
Hi Jan. The issue is the href attribute in the Area tags. With that attribute the onmouseover and onmouseout events do fire but the windows.status='' doesn't work. The way I found to fix it is use onclick in the <AREA> in place of the href and then the window.status='' in the onmouseover and onmouseout work.

--
George Hester
__________________________________
"Janwillem Borleffs" <jw@jwscripts.com> wrote in message news:40***********************@news.wanadoo.nl...
George Hester wrote:
It don't work. Try your suggestion. Thanks.


Did some research and it appears that IE doesn't support this in maps. I
have found a nice workaround suggested by Laurent Bugnion from a previous
thread in this newsgroup, see:

http://tinyurl.com/3g9ko


JW


Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: BalyanM | last post by:
Hi, I am new to python.I am using it on redhat linux 9. I am interested to run python on a sun machine(SunE420R,os=solaris) with 4 cpu's for a pattern discovery/search program on biological...
77
by: Hunn E. Balsiche | last post by:
in term of its OO features, syntax consistencies, ease of use, and their development progress. I have not use python but heard about it quite often; and ruby, is it mature enough to be use for...
198
by: Sridhar R | last post by:
>From technical point of view, I could not understand the the reasoning behind using Java in major companies. Sure that Python, is used in some, but still Java is considered as a sure-job...
24
by: dotnetforfood | last post by:
Joel Spolsky's new article "How Microsoft Lost the API War" at http://www.joelonsoftware.com/articles/APIWar.html describes how .NET has failed, how classic VB6 and ASP continue to be preferred by...
18
by: Tim Mierzejewski | last post by:
How do I clear the text from my screen, other than a bunch of \n's or endl's? Tim M.
10
by: George Hester | last post by:
When the mouse is over an image map where the various parts of the image are links to other areas, the status bar says, "Shortcut to ..." I would prefer to have the status bar say something...
1
by: Neal | last post by:
http://www.htmldog.com/ptg/archives/000036.php Read 'em and weep...
73
by: Martin Johansen | last post by:
if(a); In this code, towhat type does the if statement cast the variable "a" to on comparizon?
9
by: Achim Schneider | last post by:
I recently (6 months ago, that is) started to learn C++ because it's needed in a significant number of job ads, now find my way around but utterly lack routine. Besides doing boring exercises like...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.