1
0
Fork 0

De rij is klikbaar

merge-requests/3/head
Daniel Boutros 7 years ago
parent 51943439f2
commit 32cb70e6d9

@ -47,3 +47,7 @@ ul.nv {
color: grey;
margin-top: 50px;
}
/** Table Row **/
.clickable {
cursor: pointer;
}

@ -1,5 +1,10 @@
<?php include '__header.phtml'; ?>
<script>
function DoNav(theUrl) {
document.location.href = theUrl;
}
</script>
<table class="table">
<tr>
<th>IBAN</th>
@ -9,7 +14,7 @@
<?php
foreach ($rekeningen as $rekening) {
?>
<tr onclick="window.document.location='#';">
<tr onclick="DoNav('transacties.phtml');">
<td><?php echo $rekening['iban']; ?></td>
<td><?php echo $rekening['saldo']; ?></td>
<td><?php echo "&euro;" . $rekening['nr']; ?></td>