[mapguide-users] Andy - Question about your tooltips...

Andrew DeMerchant andrew.demerchant at gemtec.ca
Thu Jun 29 12:32:01 EDT 2006


Ah....ya, that's it exactly. I'm using the DWF viewer for my project. 
It's just too slow with the AJAX viewer (though, you're right...the 
images work fine). Too bad about that. I guess that I'll have to have 
the image show up somewhere when selected. If I can ever figure out how 
to get my own ID number out of the MapServer ID, then I could use that 
same InvokeURL method we talked about the other day. I looked at that 
briefly this morning, but couldn't see which API to use, let alone where 
to call it from (was it an InvokeScript thing?)

Andrew

Andy Morsell wrote:

> I looked at this for awhile, even using your tooltip code in my app 
> while passing one of my attributes and it was trying to go get an 
> image of that name from your server (which of course did not exist).  
> It finally dawned on me that you might be using the DWF viewer.  When 
> I test it there, I see the same results as you, so that must be the 
> case.  Everything I have developed uses the AJAX viewer only, so it 
> not working with the DWF viewer did not bother me in the past, 
> although it would be nice if they both behaved the same.
>  
>
> Andy
>
> ------------------------------------------------------------------------
> *From:* Andrew DeMerchant [mailto:andrew.demerchant at gemtec.ca]
> *Sent:* Thursday, June 29, 2006 7:39 AM
> *To:* users at mapguide.osgeo.org
> *Subject:* [mapguide-users] Andy - Question about your tooltips...
>
> Hi Andy. I was trying to get my tooltips to show an image, like you 
> had mentioned that you did. I can get the tooltip to SAY the right 
> thing, but I can't seem to get it to parse that as HTML (I see it as 
> plain text). Here's what I have in my tooltip:
>
> concat(concat('<img 
> src=http://223.254.254.29/Chemistry/wellpics/',concat(Name,'.jpg>')),concat('\nWell 
> name: ',Name))
>
> Is there something that I've missed? I even tried copying what you had 
> in yours (the one that you posted here not long ago) and changed all 
> the field names so that it would validate, but that didn't parse as 
> html either.
>
> Andrew
> -- 
> 	*Andrew DeMerchant*
> *Computer Technologist*
> ph.1-877-4GEMTEC x.163
> fax 506-453-9470
>
> /GEMTEC Limited <http://www.gemtec.ca>
> /191 Doak Road
> Fredericton, NB, Canada
> E3C 2E6
>

-- 
	*Andrew DeMerchant*
*Computer Technologist*
ph.1-877-4GEMTEC x.163
fax 506-453-9470

/GEMTEC Limited <http://www.gemtec.ca>
/191 Doak Road
Fredericton, NB, Canada
E3C 2E6

-------------- next part --------------
Skipped content of type multipart/related


More information about the Mapguide_users mailing list