Spaces:
Running
Running
Update js_quene.js
Browse files- js_quene.js +8 -0
js_quene.js
CHANGED
@@ -50,6 +50,14 @@ function startNextImageInQuene(){
|
|
50 |
|
51 |
dropZone = document.querySelector("#drag-zone2");
|
52 |
dropZone.dispatchEvent(dropEvent);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
|
54 |
console.log(`File ${currentIndex + 1} of ${droppedFiles.length} Name: ${file.name}`);
|
55 |
|
|
|
50 |
|
51 |
dropZone = document.querySelector("#drag-zone2");
|
52 |
dropZone.dispatchEvent(dropEvent);
|
53 |
+
|
54 |
+
|
55 |
+
document.body.style.backgroundImage = file;
|
56 |
+
document.body.style.backgroundSize = "cover";
|
57 |
+
document.body.style.backgroundPosition = "center";
|
58 |
+
document.body.style.backgroundRepeat = "no-repeat";
|
59 |
+
document.body.style.height = "100vh";
|
60 |
+
document.body.style.margin = "0"; // Remove default margin if needed
|
61 |
|
62 |
console.log(`File ${currentIndex + 1} of ${droppedFiles.length} Name: ${file.name}`);
|
63 |
|