Re: How to detect screen size?
I've got a hand-crafted responsive store that I need to be able to detect the browser size in order to display a javascript that I have to use two versions of based on the window size (the provider of the script has a responsive version in the works). The script loads an iframe and from that point on, I have no control. Within the script itself I can change the number of columns display, so I'm thinking if I could just detect and switch.
I've got a hand-crafted responsive store that I need to be able to detect the browser size in order to display a javascript that I have to use two versions of based on the window size (the provider of the script has a responsive version in the works). The script loads an iframe and from that point on, I have no control. Within the script itself I can change the number of columns display, so I'm thinking if I could just detect and switch.
Comment