function AdjustScale(){
scaleX = window.innerWidth / 1024;
scaleY = window.innerHeight / 768;
element = document.getElementById("IFM");
element.style.transform = "scale(" + scaleX + ", " + scaleY + ")";
}
I'm facing an issue with this piece of code. I'm unable to use variables in the scale function!
Any suggestions for resolving this problem?