mirror of
https://github.com/groupe1cir1n/groupe1CIR1Njs.git
synced 2026-03-18 21:40:30 +01:00
first attempt of zoom function
This commit is contained in:
10
src/js/index/index.js
Normal file
10
src/js/index/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
var imgAnalyse = document.getElementById("img_analyse");
|
||||
|
||||
function zoom(img){
|
||||
img.setAtribute("width", "width*2px")
|
||||
img.setAtribute("height", "height*2px")
|
||||
}
|
||||
|
||||
addEventListener("mouseover", zoom(imgAnalyse));
|
||||
|
||||
Reference in New Issue
Block a user