[mapguide-users] Tooltip Issues in Internet Explorer

clarkie342 f2000342 at gmail.com
Thu Jan 15 14:49:56 EST 2009


Attached is a screenshot of my tooltip. Its a custom tooltip with a <table>.
Is there a way to remove the top space and bottom space from the tooltip
box? This seems to be static and is not coming from my table. Here is my
tooltip expression

concat(concat(concat(concat(concat(concat(concat(concat(concat(concat(
concat(concat('<div><table border="1" style="font-family:Times New Roman;
font-size:smaller; border-collapse:collapse; border-style:solid"><tr><td
style="background-color:#C0C0C0">Installation:</td><td
style="background-color:#FFFFFF">',tblFacilities_Installation),'</td></tr><tr><td
style="background-color:#C0C0C0">Facility Number:</td><td
style="background-color:#FFFFFF">'), Facility_Number ),'</td></tr><tr><td
style="background-color:#C0C0C0">Facility Type:</td><td
style="background-color:#FFFFFF">'), tblFacilities_FacType
),'</td></tr><tr><td style="background-color:#C0C0C0">RPA UID:</td><td
style="background-color:#FFFFFF">'), tblFacilities_RPAUID
),'</td></tr><tr><td style="background-color:#C0C0C0">Primary Use:</td><td
style="background-color:#FFFFFF">'), tblFacilities_Primary_Use
),'</td></tr><tr><td style="background-color:#C0C0C0">Primary Cat.
Code:</td><td style="background-color:#FFFFFF">'),
tblFacilities_Primary_CatCode ),'</td></tr></table></div>')

Thanks for any help.



Alain Lebatard wrote:
> 
> Andy,
> 
>  
> 
> The fact that it works in Studio is puzzling as Studio uses IE for the
> previews. It's then a side-effect with IE as a standalone browser.
> 
>  
> 
> I'll look into this problem. 
> 
>  
> 
> Alain
> 
>  
> 
>   _____  
> 
> From: Andy Morsell [mailto:amorsell at spatialgis.com] 
> Sent: Friday, June 02, 2006 3:31 PM
> To: users at mapguide.osgeo.org
> Subject: RE: [mapguide-users] Tooltip Issues in Internet Explorer
> 
>  
> 
> It also works perfectly well in the Studio preview window, so I don't
> think it's the way we are referencing the images.  My implementation is
> very similar to yours and my referenced .aspx page returns an image
> programmatically via Response.ContentType = "image/jpeg";  In IE, if I
> hold my mouse over the feature for long enough, it might flash 3 or 4
> times (sometimes seeing the returned image flash in the contents as
> well) and then it settles down and displays.  But most of the time it
> just flashes.  I can tell that each one of those flashes the web
> surround is calling the embedded page over and over, however.  Like I
> said, I think this will be easy for Autodesk to replicate by just
> plugging in the below   tag into a layer tooltip and loading the map
> in IE.  
> 
>  
> 
> Andy 
> 
>   _____  
> 
> From: Butler, Juan P [mailto:jpbutler at co.pinellas.fl.us] 
> Sent: Friday, June 02, 2006 1:16 PM
> To: users at mapguide.osgeo.org
> Subject: RE: [mapguide-users] Tooltip Issues in Internet Explorer
> 
> Yep...Works great in Firefox.   So you see the IE issue?  Just flashes.
> Maybe it's with the way they are pushing out the image.
> 
>  
> 
> I'm going to try one of my .NET pages that pushes out an image.
> Hopefully, that will work better.
> 
>  
> 
> Thanks Andy.
> 
>  
> 
> - Juan
> 
>  
> 
>   _____  
> 
> From: Andy Morsell [mailto:amorsell at spatialgis.com] 
> Sent: Friday, June 02, 2006 3:28 PM
> To: users at mapguide.osgeo.org
> Subject: RE: [mapguide-users] Tooltip Issues in Internet Explorer
> 
>  
> 
> Juan,
> 
> By removing the double-quotes around the URL, it works fine.  I just
> tried it by assigning: 
> http://www3.fdle.state.fl.us/sexual_predators/GetImage.asp?fin=25109 '
> border=0 width=52 height=59>.  to one of
> my layers tooltip so it displays that for every object.  I still see the
> Internet Explorer weirdness, however.  At least it should make testing
> that problem easy for Autodesk ........... 
> 
> Andy 
> 
>   _____  
> 
> From: Butler, Juan P [mailto:jpbutler at co.pinellas.fl.us] 
> Sent: Friday, June 02, 2006 12:03 PM
> To: users at mapguide.osgeo.org
> Subject: RE: [mapguide-users] Tooltip Issues in Internet Explorer
> 
> Andy:
> 
>  
> 
> So you reference a page like me when trying to bring the images...
> 
>  
> 
> In my tool tip, I have'
> http://www3.fdle.state.fl.us/sexual_predators/GetImage.asp?fin=2510
95 '
> 
>  border=0 width=52 height=59>'
> 
>  
> 
> This should bring back the image, but it's not.   Can you pass along how
> you are putting the code in the tool tip?   Maybe I'm doing something
> wrong.    You're using Enterprise version of Mapguide OS?
> 
>  
> 
> - Juan
> 
>  
> 
>   _____  
> 
> From: Andy Morsell [mailto:amorsell at spatialgis.com] 
> Sent: Friday, June 02, 2006 2:37 PM
> To: users at mapguide.osgeo.org
> Subject: RE: [mapguide-users] Tooltip Issues in Internet Explorer
> 
>  
> 
> Juan,
> 
> Yes, the image are on that server and are rendered from the full-size
> images on-the-fly to a .NET thumbnail image.  This image is created by
> an ASP.NET page that the tooltip references while passing the parcel ID.
> I use the exact same page calls in Google Maps and Google Earth and it
> works incredibly well.  I am actually amazed at how fast .NET is at this
> on-the-fly image processing.  You can see the Google Earth
> implementation here:
> http://mapguide.spatialgis.com/mapguide/GoogleEarthDemo/.  I don't have
> all of the images for the County loaded (40 GB worth) on to the server
> yet, but will by Monday.  For now, open this placemark file after
> opening the above link in Google Earth.
> http://www.spatialgis.com/spokane_parcel_photo_area.kmz
> 
>  
> 
> Regarding your other question, no, I have not seen the browser freeze up
> when accessing this application.  It could be that you happened to be
> browsing when the MapGuide service was restarted and you lost your
> session.  I restart it via a scheduled task every two hours due to
> stability issues discussed in the past.  It's not pretty, but it makes
> sure that the server is usually running when people try to access it.
> 
> Andy 
> 
>   _____  
> 
> From: Butler, Juan P [mailto:jpbutler at co.pinellas.fl.us] 
> Sent: Friday, June 02, 2006 11:11 AM
> To: users at mapguide.osgeo.org
> Subject: RE: [mapguide-users] Tooltip Issues in Internet Explorer
> 
> This goes back to a post that I had earlier.   You are referencing an
> image on a server somewhere, correct?  I have this working great too,
> but in IE the tool tip acts erratically.  
> 
>  
> 
> I have images that I stream from the database or other locations.   I
> wish I could take this a bit further and place the streamed data into
> the tool tip.   Hopefully, in upcoming releases this will be supported
> and the performance will be OK.
> 
>  
> 
> I have a Google map that works perfectly for streaming images in the
> tool tip information for the markers.   It utilizes XSL to format tool
> tip information.
> 
>  
> 
> - Juan
> 
>  
> 
>   _____  
> 
> From: Andy Morsell [mailto:amorsell at spatialgis.com] 
> Sent: Friday, June 02, 2006 11:56 AM
> To: users at mapguide.osgeo.org
> Subject: [mapguide-users] Tooltip Issues in Internet Explorer
> 
>  
> 
> I have custom tooltips built in a map and as part of that tooltip, an
> external page is called that generates an image.  This works extremely
> well in Firefox as well as the Studio preview window.  However, in
> Internet Explorer I get very odd, inconsistent results.  These tooltips
> sometimes work correctly, but most of the time, as you hover over a
> parcel, it makes repeated calls to the server and never "holds still".
> This looks an issue with AJAX handling between the two browsers.
> 
> Here is a link to try first in Firefox and then in IE:
> http://mapguide.spatialgis.com/mapguide/mapviewerajax/?WEBLAYOUT=Library
> %3a%2f%2fSpokaneMaps%2fWeb+Layouts%2ftest.WebLayout&USERNAME=Anonymous
> <http://mapguide.spatialgis.com/mapguide/mapviewerajax/?WEBLAYOUT=Librar
> y%3a%2f%2fSpokaneMaps%2fWeb+Layouts%2ftest.WebLayout&USERNAME=Anonymous>
> 
> 
> Any help on this from Autodesk would be greatly appreciated.  Thank you.
> 
> 
>  
> 
> Andy Morsell, P.E. 
> Spatial Integrators, Inc. 
> http://www.SpatialGIS.com <http://www.SpatialGIS.com>  
> 
> 
> 
http://n2.nabble.com/file/n2164465/tooltip.jpg 
http://n2.nabble.com/file/n2164465/tooltip.JPG tooltip.JPG 
-- 
View this message in context: http://n2.nabble.com/Tooltip-Issues-in-Internet-Explorer-tp1804648p2164465.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list