1 (edited by jabbba 2012-05-18 00:13:21)

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

Re: API property for current Screen Mode?

Not currently - I'll add that to the list for a future version.

Re: API property for current Screen Mode?

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.