Test: Unterschied zwischen den Versionen

Aus wiki.kometin.at
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(364 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<html>


<form method="post" action="/Tests/Post"> 
__NICHT_INDEXIEREN__
<fieldset> 
 
    <legend>What is Your Favorite Pet?</legend> 
    <input type="checkbox" name="favorite_pet" value="Cats" onclick="return ValidatePetSelection();">Cats<br> 
    <input type="checkbox" name="favorite_pet" value="Dogs" onclick="return ValidatePetSelection();">Dogs<br> 
    <input type="checkbox" name="favorite_pet" value="Birds" onclick="return ValidatePetSelection();">Birds<br> 
        <br> 
    <input type="submit" value="Submit now"> 
    </fieldset> 
</form>
<form method="post" action="/Tests/Post"> 
    <fieldset> 
    <legend>Räumlichkeiten zeigen</legend> 
    <input type="checkbox" name="favorite_pet" value="Cats" onclick="return ValidatePetSelection();">Cats<br> 
    <input type="checkbox" name="favorite_pet" value="Dogs" onclick="return ValidatePetSelection();">Dogs<br> 
    <input type="checkbox" name="favorite_pet" value="Birds" onclick="return ValidatePetSelection();">Birds<br> 
        <br> 
    <input type="submit" value="Submit now"> 
    </fieldset> 
</form> 
<html>
<h1></h1>


<form action="/action_page.php">
{| class="wikitable"
  <input type="checkbox" id="room" name="room" value="room">
|+<big>Unsere Treffen in 2025 (jeweils ab 18:50 Uhr)</big>
  <label for="room">Alle Räumlichkeiten zeigen: Garten, Küche, Wohnzimmer, Atelier, Badezimmer</label><br>
!Jänner
!Februar
!März
!April
!Mai
!Juni
!Juli
!August
!September
!Oktober
!November
!Dezember
|-
|<s>7.1.</s>
|<s>4.2.</s>
|4.3.
|1.4.
|13.5.
|10.6.


  <input type="checkbox" id="vehicle2" name="vehicle2" value="Car">
|-
  <label for="vehicle2"> I have a car</label><br>
|<s>23.1.</s>
  <input type="checkbox" id="vehicle3" name="vehicle3" value="Boat">
|20.2.
  <label for="vehicle3"> I have a boat</label><br><br>
|20.3.
  <input type="submit" value="Submit">
|17.4.
</form>
|29.5.
<script>
|26.6.
var room = document.getElementById("room").checked;
let checkbox = document.querySelector("input[id=room]");
|-
|<br />
|<br />
|<br />
|29.4.
|<br />
|<br />
|}


checkbox.addEventListener('change', function() {
<html>
  if (this.checked) {
<style>
    console.log("room is checked..");
.button-link {
  } else {
color: rgb(255, 255, 255) !important;
    console.log("room is not checked..");
}
  }
.button-link:link, .button-link:visited, .button-link:hover {
});
color: rgb(255, 255, 255) !important;
text-decoration: none; }
.button-style {


                   
                    display: inline-block;
                    outline: 0;
                    appearance: none;
                    padding: 0px 12px;
                    border: 0px solid transparent;
                    border-radius: 4px;
                    text-decoration: none;
                    cursor: pointer;
                    background-color: blue;
                    box-shadow: rgb(19 170 82 / 40%) 0px 2px 3px;
                    color: rgb(255, 255, 255) !important;
                    font-size: 14px;
                    font-weight: 400;
                    height: 36px;
                    transition: all 150ms ease-in-out 0s;
                 
               
               
               
}
.button-style:hover {
color: rgb(255, 255, 255) !important;
background-color: rgb(17, 97, 73);
box-shadow: rgb(19 170 82 / 40%) 0px 2px 3px, rgb(195 231 202) 0px 0px 0px 3px;
}


</style>


<script type="text/javascript">
<button class="button-style">
function ValidatePetSelection() 
<a class="button-link" href="https://wiki.kometin.at/Weiqi-turnier-2025">
Weiqi-turnier-2025
    var checkboxes = document.getElementsByName("favorite_pet"); 
</a>
    var numberOfCheckedItems = 0; 
</button>
    for(var i = 0; i < checkboxes.length; i++) 
    { 
        if(checkboxes[i].checked) 
            numberOfCheckedItems++; 
    } 
    if(numberOfCheckedItems > 2) 
    { 
        alert("You can't select more than two favorite pets!"); 
        return false; 
    } 
</script>
</script>
</html>
</html>

Aktuelle Version vom 5. April 2025, 18:34 Uhr



Unsere Treffen in 2025 (jeweils ab 18:50 Uhr)
Jänner Februar März April Mai Juni Juli August September Oktober November Dezember
7.1. 4.2. 4.3. 1.4. 13.5. 10.6.
23.1. 20.2. 20.3. 17.4. 29.5. 26.6.



29.4.