Closed Thread Icon

Preserved Topic: a window.status function? Pages that link to <a href="https://ozoneasylum.com/backlink?for=18354" title="Pages that link to Preserved Topic: a window.status function?" rel="nofollow" >Preserved Topic: a window.status function?\

 
Author Thread
kars10
Bipolar (III) Inmate

From: Europe
Insane since: Mar 2001

posted posted 08-21-2001 17:43

I tried to create a function that gets a text and puts this text into the windo.status bar...

here is what I have, it's not working.. hehe

function ws(text){window.status=text; return true;}
<a href="javascript:void(0);" onmouseover="ws('show this text');">show some text</a>

what's wrong with it? do I have to somehow document.write it? I just can't see cuz I am blind...

k10


<A HREF="http://www.kars10.de/mobile/kb.gif
[b]only" TARGET=_blank>http://www.kars10.de/mobile/kb.gif
only</A> change remains

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-21-2001 18:12

Rewrite <A> tag like this:

<a href="javascript:;" onmouseover="return ws('show this text');" onmouseout="return ws('');">show some text</a>

Note 1: You should also use onmouseout to set status to blank string
Note 2: Instead of "window.status", you can simply use "status"

« BackwardsOnwards »

Show Forum Drop Down Menu