var $window = $(window),
width = Math.floor($window.width()),
height = Math.floor($window.height()),
landscape = (width > height);
/*
Now you have 3 variables:
- landscape: true of device is in landscape mode
- width: window width
- height: window height
Use if() statements to show different banners
*/
if (width > 1000)
{
// echo layout 5
}
else if(!landscape && width > 730)
{
// echo layout 4
}
else if(width > 730)
{
// echo layout 3
}
// ... and so on
It will be in less than 24 hours.
If you'll decide not to wait and update your forum to 1.1.4, it will work fine. Just do not revert outdated templates.
Update is not a problem, adding Resource Manager support to it is.... was
Also update will include several new functions that will make it much easier to use forum on mobile devices.
and what happens if you did revert the outdated templates?It will be in less than 24 hours.
If you'll decide not to wait and update your forum to 1.1.4, it will work fine. Just do not revert outdated templates.
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) { body .subForumsPopup .blockLinksList > li { width: 100%; } }
body .subForumsPopup .blockLinksList
{
{xen:property css3ClearBlock}
It will remove all custom code from those templates, resulting in mix of default and this style.and what happens if you did revert the outdated templates?
We use essential cookies to make this site work, and optional cookies to enhance your experience.