FSME
02-25-2003, 01:30 AM
Hi!
Im using the following functions:
<script language="JavaScript1.2">
function w(){dyntext.style.color='#FFFFFF';}
function g(){dyntext.style.color='#00FF00'}
function show(){dynwin.style.visibility='visible'; w()}
function hide(){dynwin.style.visibility='hidden'}
</script>
and this is how I call them:
<table border="0">
<tr>
<td align="center" width="50%"><a href="galerie2003.htm" onClick="hide()">| Zur Galerie |</a></td>
<td align="center" width="50%">
<div id="dyntext" style="position:relativ">
<font onClick="hide()" face="Tahoma" size="2" onMouseOver="g()" onMouseOut="w()"><b>|
Fenster schließen |</b>
</font>
</div></td></tr>
</table>
both codes are within the same html-file. strangely enough, it works locally but as soon as I upload it and test it, the w() method fails i.e. the call from within the show()-function does work but the onMouseOut="w()" doesn't.
I'm hoping for a spelling mistake again, but since it actually works here on my machine I'm quite confused...
Thanks a lot!
Im using the following functions:
<script language="JavaScript1.2">
function w(){dyntext.style.color='#FFFFFF';}
function g(){dyntext.style.color='#00FF00'}
function show(){dynwin.style.visibility='visible'; w()}
function hide(){dynwin.style.visibility='hidden'}
</script>
and this is how I call them:
<table border="0">
<tr>
<td align="center" width="50%"><a href="galerie2003.htm" onClick="hide()">| Zur Galerie |</a></td>
<td align="center" width="50%">
<div id="dyntext" style="position:relativ">
<font onClick="hide()" face="Tahoma" size="2" onMouseOver="g()" onMouseOut="w()"><b>|
Fenster schließen |</b>
</font>
</div></td></tr>
</table>
both codes are within the same html-file. strangely enough, it works locally but as soon as I upload it and test it, the w() method fails i.e. the call from within the show()-function does work but the onMouseOut="w()" doesn't.
I'm hoping for a spelling mistake again, but since it actually works here on my machine I'm quite confused...
Thanks a lot!