jquery if screen size
if ($(window).width() < 960) {
alert('Less than 960');
}
else {
alert('More than 960');
}$(document).ready(function() {
if($(window).width() >= 1024) {
$('a.expand').click();
}
});
Also in JavaScript:
- js variable
- js kill process
- how to iterate array in javascript
- js remove li from ul
- firebase get current user javascript
- javascript get all cookies
- convert array object to string javascript
- js array last element
- new function javascript
- how to read json file in python
- generator in classs js
- javascript removing smallest number in array
- how to remove first element of array javascript
- textinput onpress react native
- fillstyle
- select all checkboxes html js
- javascript inheritance
- js for each item in array
- discord.js download
- how to uncheck a checkbox in jquery
- react native status bar
- nodejs connection to localhost refused mysql errno -61
- bq show pretty json
- react createElement interactive button