REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    responsive design

    REXYGEN HMI Designer
    2
    4
    612
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      martijnperdaan
      last edited by

      is it possible with the index.hmi that on the mobile phone I get another hmi design that on the tablet

      1 Reply Last reply Reply Quote 0
      • jaroslav_sobotaJ
        jaroslav_sobota
        last edited by

        Hi Martijn,
        no support for this at the moment. Still, you can implement it with a custom Javascript included in your HMI. Something like "if screen_width<N then redirect to another HTML page".

        Jaroslav

        1 Reply Last reply Reply Quote 0
        • M
          martijnperdaan
          last edited by

          @jaroslav_sobota said in responsive design:

          Hi Martijn,
          no support for this at the moment. Still, you can implement it with a custom Javascript included in your HMI. Something like "if screen_width<N then redirect to another HTML page".

          how do I implement a custom Javascript in my HMI

          1 Reply Last reply Reply Quote 0
          • jaroslav_sobotaJ
            jaroslav_sobota
            last edited by

            Hi Martijn,
            here is an example project which includes a custom Javascript file: 0101-51_Custom_js.zip

            The main trick is to add the CUSTOM "library" in Expert settings in HMI Designer. The GENERAL library must be added as well:
            0_1583833486862_rexygen-hmi-custom-javascript.png

            The "library" CUSTOM is located in the hmisrc folder and it has to have a "js" subfolder which contains your Javascript files. These are then included in the generated HMI files.

            Hope this helps, let me know.

            Best regards
            Jaroslav

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

            There is also an outdated REXYGEN community forum.

            Powered by NodeBB.