Topic: API property for current Screen Mode?
Is there a property in API to check for current Screen Mode (Small, Large)?
Or maybe method to get it?
Something like in simpleviewer's API - svComplete() and svMobileComplete() methods
You are not logged in. Please login or register.
Juicebox Support Forum → Juicebox-Pro Support → API property for current Screen Mode?
Is there a property in API to check for current Screen Mode (Small, Large)?
Or maybe method to get it?
Something like in simpleviewer's API - svComplete() and svMobileComplete() methods
Not currently - I'll add that to the list for a future version.
thanks!
for now, I was able to detect 'Large Screen' mode using some jQuery
var largeScreen = false;
$(".jb-flag-large-screen-mode").each(function(){
largeScreen = true;
});
if code finds any element(namely div's) with css class name "jb-flag-large-screen-mode" it will switch largeScreen var to true.
Juicebox Support Forum → Juicebox-Pro Support → API property for current Screen Mode?
Powered by PunBB, supported by Informer Technologies, Inc.