I'm trying to change the value of $i in the following conditional:
("<script> document.write(window.innerWidth) </script>" > 960)? $i = 2 : $i = 3
But, I have always the same result "3" in diferents width of screen. Any idea?
Aucun commentaire:
Enregistrer un commentaire