Czary: Różnice pomiędzy wersjami

Z Altaron Wiki
Nie podano opisu zmian
Nie podano opisu zmian
Linia 1: Linia 1:
__NOTOC__
__NOTOC__
<div class="table-responsive">
<html>
     <table class="table table-hover table-bordered" style="cursor: default;">
<style>
      <thead class="thead-dark" >
  .highlightable:hover,
        <tr>
  .highlighted {
          <th colspan="8" class="text-center" style="vertical-align: middle; color: white;"><h3>Czary</h3></th>
    background-color: #e5e7e9;
        </tr>
  }
       </thead>
</style>
<tr>
<script>
  <td class="text-center" style="vertical-align: middle;"><h4>[[Czary Wojownika]]</h4></td>  
  const cells = document.querySelectorAll('.highlightable');
  <td class="text-center" style="vertical-align: middle;"><h4>[[Czary Łucznika]]</h4></td>
 
  <td class="text-center" style="vertical-align: middle;"><h4>[[Czary Maga]]</h4></td>
  cells.forEach(cell => {
  <td class="text-center" style="vertical-align: middle;"><h4>[[Czary Stałego Wyspiarza]]</h4></td>
    cell.addEventListener('mouseover', () => {
</tr>
      cells.forEach(c => c.classList.remove('highlighted'));
</tbody>
      cell.classList.add('highlighted');
</table>
     });
  });
</script>
</html>
 
<altaronpanel title="[[Plik:Zwój_Przemiany.gif]] Czary" style="2" titleCSS="text-align: center;>
<div class="table-responsive">
  <table class="table table-bordered" style="cursor: default;">
    <tr>
       <td class="text-center highlightable" style="vertical-align: middle;"><h4>[[Czary Wojownika]]</h4></td>  
      <td class="text-center highlightable" style="vertical-align: middle;"><h4>[[Czary Łucznika]]</h4></td>
      <td class="text-center highlightable" style="vertical-align: middle;"><h4>[[Czary Maga]]</h4></td>
      <td class="text-center highlightable" style="vertical-align: middle;"><h4>[[Czary Stałego Wyspiarza]]</h4></td>
    </tr>
  </table>
</div>
</div>
</altaronpanel>
[[Kategoria:Czary]]
[[Kategoria:Czary]]

Wersja z 00:38, 17 lut 2023