I have this code but since I use “” the a.innerheight does not get replaced by its value. Is it possible to make this dynamic? a.style.webkitTransform = “translate(0,a.innerHeight)”
Category: javascript
Mobile detection
Is there a way to detect mobile devices using Javascript? Also, I researched that there are such an XML which contains user-agents that could help to identify the mobile handsets.