LAPTOP i7
Pages
Home
Showing posts with label
js
.
Show all posts
Showing posts with label
js
.
Show all posts
Saturday, July 1, 2017
Detect the browser resolution by php and js
Detect the browser resolution by php and js
Code:
if(!isset($_GET[r])) { echo "";
}
else {
// Code to be displayed if resolutoin is detected
if(isset($_GET[width]) && isset($_GET[Height])) {
// Resolution detected
}
else {
// Resolution not detected
}
}
?>
Read more »
Older Posts
Home
Subscribe to:
Posts (Atom)