javascript window.innerWidth conditional statement -


i have script shows different content depending on screen size, looks this:

if ((window.innerwidth < 1250 ))  {  //do  } 

i trying set greater value less value. thought follwoing work:

if ((window.innerwidth < 1250 && > 750))  {  //do  } 

can me out?

close:

if (window.innerwidth < 1250 && window.innerwidth > 750)  { 

Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -