The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
Is there a way to detect screen width inside template.
I have found for rotating images inside the js
var current_width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
if(current_width > 1590){
var image_size = ".250x200";
} else {
var image_size = "";
}
But inside the template i can not find something because can not add "var image_size" inside the template in html code.
Offline
Pages: 1