Widget:Multi upload bericht: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 116: | Regel 116: | ||
counter = counter + 1; | counter = counter + 1; | ||
− | document.getElementById("imgTest").innerHTML = document.getElementById("imgTest").innerHTML+'<div class="upload-group">'+newImage.outerHTML+'<div class="d-flex"><input name="exclude" data="'+dt.name+'" type="text" placeholder="caption" class="form-control" /><input id="'+dt.name+'" type="radio" name="Image" class="d-none" value="'+filedate+dt.name+'" ><label for="'+dt.name+'" ><i class="fa fa-star btn"></i></label></div></div>'; | + | document.getElementById("imgTest").innerHTML = document.getElementById("imgTest").innerHTML+'<div class="upload-group">'+newImage.outerHTML+'<div class="d-flex"><input name="exclude" data="'+dt.name+'" type="text" placeholder="caption" class="form-control" /><input id="'+dt.name+'" type="radio" name="Image" class="d-none" value="'+filedate+dt.name+'" ><label for="'+dt.name+'" ><i class="fa fa-star btn ml-0"></i></label></div></div>'; |
// alert("Converted Base64 version is " + document.getElementById("imgTest").innerHTML); | // alert("Converted Base64 version is " + document.getElementById("imgTest").innerHTML); | ||
// console.log("Converted Base64 version is " + document.getElementById("imgTest").innerHTML); | // console.log("Converted Base64 version is " + document.getElementById("imgTest").innerHTML); |
Versie van 19 aug 2020 13:43
This is the Widget:Multi upload page. It should be called in the following format:
{{#widget:Multi upload }}