showing results for - "redirect page on mobile screen size javascript"
Irene
07 Jul 2016
1<script type="text/javascript">
2   function redirect() {
3   if (screen.width <= 950) {
4      window.location = "https://www.google.com/";
5   }
6
Emilia
24 Jan 2017
1function redirect() {
2   if (screen.width <= 950) {
3      window.location = "https://www.google.com/";
4   }
David
26 Nov 2016
1<script type="text/javascript">
2    $(window).on('load resize',function(){
3        if($(window).width() < 950){
4            window.location = "https://www.google.com"
5        }
6    });
7</script>
8