473,726 Members | 2,262 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't change window.status message - help!

Why won't the window.status message change ?

IE ver. 6.0.2800.1106 displays the tooltip OK.

<td>
<A HREF="editAutho r.asp?item=4"
title="Edit author details"
onMouseOver="wi ndow.status=thi s.title"
onMouseOut="win dow.status=''"> Micky Mouse</A>
</td>

Similar code works when the title and events are associated with <TD>
tags rather than <A> tags.

Jul 20 '05 #1
8 4723
mark4asp <ma************ ****@ntlworld.c om> writes:
Why won't the window.status message change ?


'I have window.status=" Moomin"; why doesn't the statusbar change?'
<URL:http://jibbering.com/faq/#FAQ4_35>

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2
rf

"mark4asp" <ma************ ****@ntlworld.c om> wrote in message
news:bk******** *************** *********@4ax.c om...
Why won't the window.status message change ?

IE ver. 6.0.2800.1106 displays the tooltip OK.

<td>
<A HREF="editAutho r.asp?item=4"
title="Edit author details"
onMouseOver="wi ndow.status=thi s.title"
onMouseOut="win dow.status=''"> Micky Mouse</A>
</td>

Similar code works when the title and events are associated with <TD>
tags rather than <A> tags.


The status bar is there for the user to see which URL a link points to, not
for you to manipulate. Leave it all alone and all will be OK :-)

Cheers
Richard.
Jul 20 '05 #3
If you have many links on your page i'd prefer this:

place between <head> and </head>:

<script language=javasc ript>
window.defaultS tatus="";
</script>

and the link:

<a href="editAutho r.asp?item=4" title="Edit author details"
onMouseOver="wi ndow.status=thi s.title; return true;">Mickey Mouse</a>
if you have only couple of links, you can do it this way also:

<a href="editAutho r.asp?item=4" title="Edit author details"
onMouseOver="wi ndow.status=thi s.title; return true;"
onMouseOut="win dow.status=' '; return true;">Mickey Mouse</a>
--
Janne
http://trax.to/thx/
"mark4asp" <ma************ ****@ntlworld.c om> wrote in
news:bk******** *************** *********@4ax.c om...
Why won't the window.status message change ?

IE ver. 6.0.2800.1106 displays the tooltip OK.

<td>
<A HREF="editAutho r.asp?item=4"
title="Edit author details"
onMouseOver="wi ndow.status=thi s.title"
onMouseOut="win dow.status=''"> Micky Mouse</A>
</td>

Similar code works when the title and events are associated with <TD>
tags rather than <A> tags.

Jul 20 '05 #4
On Mon, 15 Sep 2003 14:28:09 +0300, "Janne Raiskila" <ol***@par.as >
wrote:
If you have many links on your page i'd prefer this:

place between <head> and </head>:

<script language=javasc ript>
window.default Status="";
</script>

and the link:

<a href="editAutho r.asp?item=4" title="Edit author details"
onMouseOver="w indow.status=th is.title; return true;">Mickey Mouse</a>
if you have only couple of links, you can do it this way also:

<a href="editAutho r.asp?item=4" title="Edit author details"
onMouseOver="w indow.status=th is.title; return true;"
onMouseOut="wi ndow.status=' '; return true;">Mickey Mouse</a>


Thanks.

I can see my error now. I wasn't properly invoking the javascript.

<head>
<script language="JavaS cript">
<!--
function statusMsg(msg) {
window.status=m sg;
return true
}
//-->
</script>
</head>

....

<td>
<A HREF="editAutho r.asp?item=4"
title="Edit author details"
onMouseOver="re turn statusMsg(this. title)"
onMouseOut="ret urn statusMsg('')"> Micky Mouse</A>
</td>

Although I believe it makes no difference wheher the javascript is
places between the <head></head> or <body></body> tags, or so I've
been told.

Jul 20 '05 #5
The status bar is there for the user to see which URL a link points to, not for you to manipulate. Leave it all alone and all will be OK :-)

Cheers
Richard.


The status bar is there to show status messages. If your application has a
more useful status message than a (not very useful) URL, then why not
program the status bar to show a useful message?

Regards,

Pete.
Jul 20 '05 #6
rf

"Peter Connolly" <no************ *@nospamrequire d.com> wrote in message
news:bk******** ***********@new s.demon.co.uk.. .
The status bar is there for the user to see which URL a link points to, not
for you to manipulate. Leave it all alone and all will be OK :-)

The status bar is there to show status messages. If your application has a
more useful status message than a (not very useful) URL, then why not
program the status bar to show a useful message?


IMHO the status bar is there to show status messages *from the browser*, not
from the web page author. A web page is not the application, the browser is
the application. The web page is the data.

This has been thrashed about endlessly in the newsgroups. The general
consensus is that, when viewers hover over a link they sometimes look at the
status bar to see where the link is going to send them to. If something
other than a URL appears then they get suspicious and just don't go there.
The exception is of course those XXX sites :-)

Cheers
Richard.
Jul 20 '05 #7
Hi,

rf wrote:
"Peter Connolly" <no************ *@nospamrequire d.com> wrote in message
news:bk******** ***********@new s.demon.co.uk.. .
The status bar is there for the user to see which URL a link points to,


not
for you to manipulate. Leave it all alone and all will be OK :-)


The status bar is there to show status messages. If your application has a
more useful status message than a (not very useful) URL, then why not
program the status bar to show a useful message?

IMHO the status bar is there to show status messages *from the browser*, not
from the web page author. A web page is not the application, the browser is
the application. The web page is the data.

This has been thrashed about endlessly in the newsgroups. The general
consensus is that, when viewers hover over a link they sometimes look at the
status bar to see where the link is going to send them to. If something
other than a URL appears then they get suspicious and just don't go there.
The exception is of course those XXX sites :-)

Cheers
Richard.


While I understand that the general consensus amongst webdesigner is
what you state, I disagree in some cases.

The status bar is there to give information. Actually, the browser is
more than an application, it's a platform. Nowadays, full-blown
applications can be implemented in JavaScript, and the status bar can be
very handy, for example to inform the user about the progress of a long
process. It's easy to use, and you should not let your user sit and wait
without any information.

I agree that for links, the status bar should preferably display the
URL. But the status bar can be used for a lot more than just that.

Laurent
--
Laurent Bugnion, GalaSoft
Webdesign, Java, javascript: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Jul 20 '05 #8
mark4asp wrote:
On Mon, 15 Sep 2003 14:28:09 +0300, "Janne Raiskila" <ol***@par.as >
wrote:

If you have many links on your page i'd prefer this:

place between <head> and </head>:

<script language=javasc ript>
window.defaul tStatus="";
</script>

and the link:

<a href="editAutho r.asp?item=4" title="Edit author details"
onMouseOver=" window.status=t his.title; return true;">Mickey Mouse</a>
if you have only couple of links, you can do it this way also:

<a href="editAutho r.asp?item=4" title="Edit author details"
onMouseOver=" window.status=t his.title; return true;"
onMouseOut="w indow.status=' '; return true;">Mickey Mouse</a>

Thanks.

I can see my error now. I wasn't properly invoking the javascript.

<head>
<script language="JavaS cript">
<!--
function statusMsg(msg) {
window.status=m sg;
return true
}
//-->
</script>
</head>

...

<td>
<A HREF="editAutho r.asp?item=4"
title="Edit author details"
onMouseOver="re turn statusMsg(this. title)"
onMouseOut="ret urn statusMsg('')"> Micky Mouse</A>
</td>

Although I believe it makes no difference wheher the javascript is
places between the <head></head> or <body></body> tags, or so I've
been told.


What matters is the "return true" portion. But be aware that not all
browsers allow the changing of the status bar. Its not there for
tinkering with, its there to show information from the browser.
--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq
Jul 23 '05 #9

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

Similar topics

7
6208
by: mark4asp | last post by:
Why won't the window.status message change ? IE ver. 6.0.2800.1106 displays the tooltip OK. <td> <A HREF="editAuthor.asp?item=4" title="Edit author details" onMouseOver="window.status=this.title" onMouseOut="window.status=''">Micky Mouse</A> </td>
4
5778
by: Yuk Cheng | last post by:
<<<start index.htm>>> <html> <head> <script> function perform(action){ } </script> </head>
2
1730
by: Surajit | last post by:
Hi I have written the following code for changing color of the <td> and also the text in that <td> on mouseover. I have written it as a javascript code and need it that way only. write("<table width='100%' cellspacing='0' cellpadding='0' border='0' class='colpaleblue'><tr>");
9
3345
by: WRH | last post by:
Hello I am new to asp but I made some Jscript functions which work fine. The functions contain some strings used as a registration key for some apps. It is important that these strings not be visible to a client using a browser. My question is...can a knowledgeable browser user view Jscript source code in an asp file?
3
4221
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - I have window.status="Moomin"; why doesn't the statusbar change? ----------------------------------------------------------------------- When changing the status in an event (e.g. onmouseover) you should return true from the event. Also a number of browsers require a short delay before setting the status to overcome their default behaviour with the...
1
1569
by: mela | last post by:
it seems quite stupid but i am building up my web site and i am stocked with this problem: i download this photoslider script and wanted to have two on the same page but they are interfering one each other.. now: i read that to avoid this i should change the names of the variables and those of the functions on the second script , but i do not know where to start from! can anybody explain me in a simple way (i do not know java at all!) what i...
8
6199
by: rajesh | last post by:
< script language = javascript c =...
0
9401
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9179
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8099
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3228
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.