javascript if wider than 600 px code example
Example: jquery check if screen size
if ($(window).width() < 960) {
alert('Less than 960');
}
else {
alert('More than 960');
}
if ($(window).width() < 960) {
alert('Less than 960');
}
else {
alert('More than 960');
}