Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#254 closed defect (fixed)

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: Browser: All
External ID: Operating System: All
state: New

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 (4)

comment:1 by mbeckman, 13 years ago

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>

comment:2 by amorsell, 13 years ago

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

comment:3 by madair, 13 years ago

Resolution: fixed
Status: newclosed

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

Changing defaults for templates is outside the scope of Fusion

comment:4 by jbirch, 13 years ago

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.