Ticket #254 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Maptip opened URL default should be WITH scrollbars

Reported by: amorsell Owned by: madair
Priority: P3 Milestone: 2.0
Component: Widgets Version: 1.1.1
Severity: Minor Keywords:
Cc: External ID:
state: New Browser: All
Operating System: All

Description

The default behavior of the window opened from a maptip is for scrollbars to be off. The default should be changed so that scrollbars are on.

Change History

Changed 4 years ago by mbeckman

I think we can make all new weblayouts have scrollbars by default for maptip windows if we make a change in MapTip?.xml. Unfortunately the setting that turns off scrollbars is saved in the weblayout xml so it won't change the behavior for existing weblayouts.

IN maptip.xml change

<Parameter>

<Name>WinFeatures?</Name> <Label>Window Features</Label> <Type>String</Type> <Description>Options for opening hyperlinks new window, if used</Description> <IsMandatory?>false</IsMandatory> <DefaultValue?>menubar=no,location=no,resizable=no,status=no</DefaultValue>

</Parameter>

TO

<Parameter>

<Name>WinFeatures?</Name> <Label>Window Features</Label> <Type>String</Type> <Description>Options for opening hyperlinks new window, if used</Description> <IsMandatory?>false</IsMandatory> <DefaultValue?>menubar=no,location=no,resizable=no,status=no, scrollbars=yes</DefaultValue>

</Parameter>

Changed 4 years ago by amorsell

Would there be a way to change the behavior of existing weblayouts?

Changed 4 years ago by madair

  • status changed from new to closed
  • resolution set to fixed

fixed at rev 1930 by adding scrollbars=yes to the winFeatures for Maptips.

Changing defaults for templates is outside the scope of Fusion

Changed 4 years ago by jbirch

Andy,

This is totally untested, but you should just be able to change the behaviour for an existing ApplicationDefinition (flexible layout) by editing it as XML and locating the place where the MapTip widget is defined. Once you find this, add a new entity to the Extension section called WinFeatures with a value of "menubar=no,location=no,resizable=no,status=no, scrollbars=yes". Something like this (big chunks of MapTip definition deleted):

    <Widget>
      <Type>Maptip</Type>
      <Extension>
        <WinFeatures> menubar=no,location=no,resizable=no,status=no, scrollbars=yes</WinFeatures>
      </Extension>
    </Widget>
Note: See TracTickets for help on using tickets.