De kleurtjes
This commit is contained in:
		@@ -25,8 +25,8 @@
 | 
				
			|||||||
                <div class="container">
 | 
					                <div class="container">
 | 
				
			||||||
                    <ul class="nv">
 | 
					                    <ul class="nv">
 | 
				
			||||||
                        <li><a href="rekeningen">Rekeningen</a></li>
 | 
					                        <li><a href="rekeningen">Rekeningen</a></li>
 | 
				
			||||||
						<li><a href="rekeningen">Transactie Beginnen</a></li>
 | 
											<li><a href="overboeking">Overboeking</a></li>
 | 
				
			||||||
						<li><a href="rekeningen">Transacties</a></li>
 | 
											<li><a href="transacties">Transacties</a></li>
 | 
				
			||||||
                    </ul>
 | 
					                    </ul>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,14 @@
 | 
				
			|||||||
<?php include '__header.phtml'; ?>
 | 
					<?php include '__header.phtml'; ?>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
 | 
						function ChangeColor(tableRow, highLight) {
 | 
				
			||||||
 | 
							if (highLight) {
 | 
				
			||||||
 | 
								tableRow.style.backgroundColor = '#0094ff';
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							else {
 | 
				
			||||||
 | 
								tableRow.style.backgroundColor = 'white';
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
  function DoNav(theUrl) {
 | 
					  function DoNav(theUrl) {
 | 
				
			||||||
	document.location.href = theUrl;
 | 
						document.location.href = theUrl;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
@@ -14,7 +22,8 @@
 | 
				
			|||||||
    <?php
 | 
					    <?php
 | 
				
			||||||
        foreach ($rekeningen as $rekening) {
 | 
					        foreach ($rekeningen as $rekening) {
 | 
				
			||||||
            ?>
 | 
					            ?>
 | 
				
			||||||
            <tr onclick="DoNav('transacties.phtml');">
 | 
					            <tr onmouseover="ChangeColor(this, true);" 
 | 
				
			||||||
 | 
					              onmouseout="ChangeColor(this, false);" 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 "€" . $rekening['nr']; ?></td>
 | 
					                <td><?php echo "€" . $rekening['nr']; ?></td>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user