Back

Topic

[KB832]Autosize WebVue

Tags: Autosize, Webvue

9 years ago
By RM
Options
Print

Applies to:

PcVue 11.1 Update 72, PcVue 11.2 Update 1


Summary:

This article explains how to use automatic auto sizing for WebVue, no scroll bar


Details:

You must use WebVue option: “Link mimic with web client resolution”

After you have to edit Index.hmtl file to insert new information like this:

  var attributes = {

            code: ‘svfc/launcher/WebVueClient.class’,

            archive: ‘AiWebVue.jar’,

            codebase: ‘/classes’,

            width: ‘100%’,

            height: ‘100%’,

            align: ‘top’,

            vspace: ‘0px’,

            hspace: ‘0px’,

           autofit: ‘browser’       

And this before </script> :

           window.moveTo(0, 0);

          window.resizeTo(screen.width, screen.height-20);

 Index.hmtl is attached for exemple.


© ARC Informatique. All rights reserved.

Index file sample

Created on: 28 Jul 2016 Last update: 13 May 2024