Ridefreak
Lieutenant
- Registriert
- Mai 2004
- Beiträge
- 569
Hallo Leute!
Schon seit ein Paar Tagen teste ich rum, aber es will irgendwie nicht so recht. Dies Sache ist folgende. Ich habe eine HTML Seite mit einer Tabelle inklusive Style Daten. Meine Ziele sind folgende:
1. Verlinken einer ganzen Zeile
2. Mousekursuränderung bei Link
3. Einen hovereffekt auf die ganze Zeile!
Ausstehend ist noch Punkt 3. Als ein Hover über die ganze Spalte. Habe es mehrmals versucht, aber es will einfach nicht funktionieren. Habe mal hier ein Beispiel verlinkt, um zu sehen was ich genau meine mit dem Hover.
Hier noch mein Code:
Weis langsam nimmer weiter
Gruß
Ride
Schon seit ein Paar Tagen teste ich rum, aber es will irgendwie nicht so recht. Dies Sache ist folgende. Ich habe eine HTML Seite mit einer Tabelle inklusive Style Daten. Meine Ziele sind folgende:
1. Verlinken einer ganzen Zeile
2. Mousekursuränderung bei Link
3. Einen hovereffekt auf die ganze Zeile!
Ausstehend ist noch Punkt 3. Als ein Hover über die ganze Spalte. Habe es mehrmals versucht, aber es will einfach nicht funktionieren. Habe mal hier ein Beispiel verlinkt, um zu sehen was ich genau meine mit dem Hover.
Hier noch mein Code:
Code:
<html>
<head>
<title>Test Center Webservice</title>
</head>
<body>
<div align="center">
<p><img src="..\logo.jpg" align="center" alt="test"></p>
<a href="../index.html">zurück zum Index</a>
<br>
<br>
<br>
<h4>test</h4>
<style>
{font-weight:bold}body
{font-family:arial,sans,sans-serif;margin:0}#app-container{clear:both;position:absolute;top:115px}
.modal-dialog-bg{z-index:9}body,body td,.tbl,.tblGeneric{font-size:13px}
.tbl tr.rShim td,
.tbl td.rShi
{padding:0;border-bottom:0}
.tbl { table-layout:fixed;
border-collapse:collapse;
border-style:none;
border-spacing:0px;
width:0px;
border-bottom:1px #ccc solid}
.tbl td { padding:0 3px;
overflow:hidden;
white-space:normal;
letter-spacing:0;
word-spacing:0;
background-color:#fff;
z-index:1;border-top:0px none;
border-left:0px none;
border-bottom:1px solid #CCC;
border-right:1px solid #CCC;}
.tbl td.overview { background-color:#cc99ff;
font-family:arial,sans,sans-serif;
font-size:100.0%;
font-weight:normal;
font-style:normal;
color:#000000;
text-decoration:none;
text-align:center;
vertical-align:bottom;
white-space:normal;
overflow:hidden;
text-indent:0px;
padding-left:3px;
border-top:1px solid #CCC;
border-right:1px solid #CCC;
border-bottom:1px solid #CCC;
border-left:1px solid #CCC;}
.tbl td.s4 { background-color:#ffffff;
font-family:arial,sans,sans-serif;
font-size:100.0%;
font-weight:normal;
font-style:normal;
color:#000000;
text-decoration:none;
text-align:center;
vertical-align:bottom;
white-space:normal;
overflow:hidden;
text-indent:0px;
padding-left:3px;
border-right:1px solid #CCC;
border-bottom:1px solid #CCC;
border-left:1px solid #CCC;}
.tbl td.freetblright { background-color:#ffffff;
font-family:arial,sans,sans-serif;
font-size:100.0%;
font-weight:normal;
font-style:normal;
color:#000000;
text-decoration:none;
text-align:center;
vertical-align:bottom;
white-space:normal;
overflow:hidden;
text-indent:0px;
padding-left:3px;
border-right:1px solid #CCC;
border-bottom:1px solid #CCC;
border-left:1px solid #CCC;}
.tbl td.freetblleft { background-color:#ffffff;
font-family:arial,sans,sans-serif;
font-size:100.0%;
font-weight:normal;
font-style:normal;
color:#000000;
text-decoration:none;
text-align:center;
vertical-align:bottom;
white-space:normal;
overflow:hidden;
text-indent:0px;
padding-left:3px;
border-right:1px solid #CCC;
border-bottom:1px solid #CCC;
border-left:1px solid #CCC;}
tr:hover { background-color:silver; }
tbody:hover {background-color: yellow;}
</style>
</head>
<table>
<body style="border: 0px none; margin: 0px;"><table id="tblMain" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><table class="tbl" id="tblMain_0" border="0" cellpadding="0" cellspacing="0"><tbody><tr class="rShim">
<td class="rShim" style="width: 0pt;"></td>
<td class="rShim" style="width: 350px;"></td>
<td class="rShim" style="width: 70px;"></td>
<td class="rShim" style="width: 70px;"></td>
<td class="rShim" style="width: 69px;"></td></tr><tr>
<td class="hd"><p style="height: 16px;">.</p></td>
<td class="overview">Name:</td>
<td class="overview">System:</td>
<td class="overview">Publisher:</td>
<td class="overview">USK Wertung:</td>
</tr>
<tr>
<td class="hd"><p style="height: 16px;">.</p></td>
<td class="freetblright"></td>
<td class="freetblleft"></td>
<td class="freetblright"></td>
<td class="freetblleft"></td>
</tr>
<tr>
<td class="hd"><p style="height: 16px;">.</p></td>
<td class="s4"onclick="javascript:window.location.href='bfbc.html'" onmouseover="this.style.cursor='pointer';">Battlefield bad Company</td>
<td class="s4"onclick="javascript:window.location.href='bfbc.html'" onmouseover="this.style.cursor='pointer';">PS3</td>
<td class="s4"onclick="javascript:window.location.href='bfbc.html'" onmouseover="this.style.cursor='pointer';">EA</td>
<td class="s4"onclick="javascript:window.location.href='bfbc.html'" onmouseover="this.style.cursor='pointer';">18</td>
</tr>
<tr>
<td class="hd"><p style="height: 16px;">.</p></td>
<td class="s4"onclick="javascript:window.location.href='midg.html'" onmouseover="this.style.cursor='pointer';">Mirrors Edge</td>
<td class="s4"onclick="javascript:window.location.href='midg.html'" onmouseover="this.style.cursor='pointer';">XBOX 360</td>
<td class="s4"onclick="javascript:window.location.href='midg.html'" onmouseover="this.style.cursor='pointer';">EA</td>
<td class="s4"onclick="javascript:window.location.href='midg.html'" onmouseover="this.style.cursor='pointer';">16</td>
</tr>
<tr>
<td class="hd"><p style="height: 16px;">.</p></td>
<td class="s4"onclick="javascript:window.location.href='sprmglxy.html'" onmouseover="this.style.cursor='pointer';">Super Mario Galaxy</td>
<td class="s4"onclick="javascript:window.location.href='sprmglxy.html'" onmouseover="this.style.cursor='pointer';">Wii</td>
<td class="s4"onclick="javascript:window.location.href='sprmglxy.html'" onmouseover="this.style.cursor='pointer';">Nintendo</td>
<td class="s4"onclick="javascript:window.location.href='sprmglxy.html'" onmouseover="this.style.cursor='pointer';">6</td>
</tr>
</tbody>
</table>
</tbody>
</table>
</div>
</body>
</html>
Weis langsam nimmer weiter

Gruß
Ride