Zum Hauptinhalt gehen

How to view a viewer in a tablet with tablet layout?

Kommentare

5 Kommentare

  • Permanently deleted user
    Hi,

     

    you can always "force" the skin to use by using one of these viewer urls;

     

    For desktop :

     

    http://<server>/html5viewer/Index.html?viewerConfigUri=http://<server>/Geocortex/Essentials/REST/sites/<sitename>/viewers/<viewername>/VirtualDirectory/Resources/Config/Default/Desktop.json.js

     

    For tablet :

     

    http://<server>/html5viewer/Index.html?viewerConfigUri=http://<server>/Geocortex/Essentials/REST/sites/<sitename>/viewers/<viewername>/VirtualDirectory/Resources/Config/Default/Tablet.json.js

     

    For handheld :

     

    http://<server>/html5viewer/Index.html?viewerConfigUri=http://<server>/Geocortex/Essentials/REST/sites/<sitename>/viewers/<viewername>/VirtualDirectory/Resources/Config/Default/Handheld.json.js

     

    Regards,

     

    Jan
    0
  • Permanently deleted user
    Thanks.

     

    is there a shorter url for this?  For example our current test is this:

     

    http://coacortexdev.coacd.org/WPD/?viewer=floodpro

     

    can we have a similar way to force the tablet or handheld version?
    0
  • Dan Giersz
    We use the following for the different versions:

     

    http://<server or domain>/Html5Viewer/<index or tablet or handheld>.html?configBase=http://<server>/Geocortex/Essentials/REST/sites/<site>/viewers/<viewer>/virtualdirectory/Resources/Config/Default

     

    GE 4.4.2, GVH 2.5.2
    0
  • Dan Giersz
    You can modify the index.html to force load the different versions using different URLs, just as you did to create that shortened URL.
    0
  • Permanently deleted user
    Thank you all.  I think I need to create a start page with three versions and users can select whichever version fit their browsers.
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.