Struppi: Link im neuen Fenster öffnen

Beitrag lesen

Ich wollte mich nur kurz fassen so siehts im Ganzen aus :

<SCRIPT LANGUAGE=JavaScript>

Da fehlt das tpe attribut.

<!--
function high0(LinkObject) {
LinkObject.style.background='rgb(194,216,252)';
LinkObject.style.border='solid';
LinkObject.style.borderWidth='1px';
LinkObject.style.borderColor='rgb(255,0,0)';}
function low0(LinkObject) {
LinkObject.style.background='rgb(255,255,255)';
LinkObject.style.border='solid';
LinkObject.style.borderWidth='1px';
LinkObject.style.borderColor='rgb(0,0,255)';}
//-->
</SCRIPT>

Das geht wesentlich einfach mit CSS:

.linkbox a
{
display:block;
width:100%;
background-color:#fff;
border:soldid 1px #00f;
font-familiy: Verdana;
text-align:left;
font-weight:bold;

}
.linkbox a:hover
{
background-color:#FCF9FF;
border:soldid 1px #f00;

}
<TR>
<TD CLASS=linkbox>
<a href="http://www.google.de">Google</a>
</TD>
</TR>
</table>

Struppi.