load different xml file when width <1000px

  • Hi

    I have created a tour with different skin.xml files depending on the viewers screen width. Therefore I want to load the index_skin.xml on screens larger that 1000px width and want to load the index_skin_mobile.xml on devices below 1000px width. It works if I define it via devices desktop or mobile. But that's not what I want, I want to make it depending on the screens width.

    Code
    <include url="%FIRSTXML%/index_skin.xml" devices="desktop"/>  <include url="%FIRSTXML%/index_skin_mobile.xml" devices="mobile"/>


    Any advice? Thank you

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!