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 -

VBA function to include CDATA -

php - Warning: file_get_contents() expects parameter 1 to be a valid path, array given 16 -