[mapguide-users] URL activated for feature

achectl achectl at gmail.com
Wed May 6 00:28:16 EDT 2009


Thanks Andy

It's work now! :clap:



Andy Morsell wrote:
> 
> I have fixed this problem on my Fusion installation in the past.  You have
> to edit C:\Program
> Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\widgets\Maptip.js
> .  While one would think that you could change the behavior by editing the
> sWinFeatures on or around line 59, for some reason the window that is
> opened
> does not obey these parameters.  You can manually fix it by editing the
> openLink function to read something like the following:
> 
> openLink : function(evt, url) {
> 	//below line added since window.open did not seem to obey changes in
> sWinFeatures
> 	var myWinFeatures =
> 'menubar=no,location=no,resizable=no,status=no,width=1024,height=800,scrollb
> ars=yes';
>         	var taskPaneTarget = Fusion.getWidgetById(this.sTarget);
>         	if ( taskPaneTarget ) {
>             	taskPaneTarget.setContent(url);
>         	} else {
>             	var pageElement = $(this.sTarget);
>             	if ( pageElement ) {
>                 	pageElement.src = url;
>             	} else {
>                 		window.open(url, this.sTarget,
> myWinFeatures);
>             	}
>         }
>         OpenLayers.Event.stop(evt, true);
>         return false;
>     }
> 
> I have added two new tickets to the Fusion Trac about this bug.  They are
> here:
> 
> http://trac.osgeo.org/fusion/ticket/253
> http://trac.osgeo.org/fusion/ticket/254
> 
> 
> Andy Morsell, P.E.
> Spatial Integrators, Inc.
> www.SpatialGIS.com
> 
> 
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of achectl
> Sent: Monday, May 04, 2009 1:59 AM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] URL activated for feature
> 
> 
> Hi All
> 
> I found that the URL activated pop-up windows do not have scroll-bar! How
> can I enable this feature? Firefox is my testing browser. 
> 
> Thanks in advance. :confused:
> 
> Archectl
> -- 
> View this message in context:
> http://n2.nabble.com/URL-activated-for-feature-tp2786234p2786234.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/URL-activated-for-feature-tp2786234p2808542.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list