1
0

De rij is klikbaar

This commit is contained in:
Daniel Boutros 2017-03-30 15:11:02 +02:00
parent 51943439f2
commit 32cb70e6d9
2 changed files with 10 additions and 1 deletions

View File

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

View File

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