Daidaloz
12.03.2002, 19:04
Hie Leute!
Ich habe folgendes script zur hand und schon soweit fertig gemacht, dass es onmouseover einen text in einer form eingibt!
Nun klappt das aber nicht frame übergreifend!
Und da ich nicht so der Profi in JS bin, dachte ich frage ich euch!
Thx schonmal 4 help! :)
<script language="JavaScript">
<!--
function thetext(txt) {
document.theform.thetext.value = txt
return true;
}
// -->
</script> <script
language="JavaScript">
<!--
function atext(txt) {
document.aform.atext.value = txt
return true;
}
// -->
</script> </p>
<p align="center"><br>
Welche Seite hättest Du gern? :)
</p>
<p align="center"><br>
<a href="test1.html" onmouseout="thetext(" "); atext(" ")"
onmouseover="thetext("Thema 1"); atext("Bla Bla Bla")"
target="Hauptframe"><font FACE="Arial" SIZE="+3" COLOR="#00FF00">Haus</font></a><br>
<a href="test2.htm" onmouseout="thetext(" "); atext(" ")"
onmouseover="thetext("Thema 2"); atext("Was da so alles rein passt :-)")"
target="Hauptframe">Guestbook</a><br>
</p>
Ich habe folgendes script zur hand und schon soweit fertig gemacht, dass es onmouseover einen text in einer form eingibt!
Nun klappt das aber nicht frame übergreifend!
Und da ich nicht so der Profi in JS bin, dachte ich frage ich euch!
Thx schonmal 4 help! :)
<script language="JavaScript">
<!--
function thetext(txt) {
document.theform.thetext.value = txt
return true;
}
// -->
</script> <script
language="JavaScript">
<!--
function atext(txt) {
document.aform.atext.value = txt
return true;
}
// -->
</script> </p>
<p align="center"><br>
Welche Seite hättest Du gern? :)
</p>
<p align="center"><br>
<a href="test1.html" onmouseout="thetext(" "); atext(" ")"
onmouseover="thetext("Thema 1"); atext("Bla Bla Bla")"
target="Hauptframe"><font FACE="Arial" SIZE="+3" COLOR="#00FF00">Haus</font></a><br>
<a href="test2.htm" onmouseout="thetext(" "); atext(" ")"
onmouseover="thetext("Thema 2"); atext("Was da so alles rein passt :-)")"
target="Hauptframe">Guestbook</a><br>
</p>