Title: GEMTEC Email Signature
I'm doing something similar (dynamic page in an iframe as a tooltip)...I don't have a solution for you (mine just show up, but the user can't click in them or anything). It would seem to me that what you'd need to do is to have the tooltip.aspx file change the size of the iframe using some javacript or something - the trick though, is getting the tooltip to stay open and let the user click inside. If you can do that, you should be able to get the iframe to resize from the aspx page itself, I would think.

Andrew


On 11/02/18 3:31 PM, frosty1_4me wrote:
Hi,

I'm just wondering if anyone else has done this.  In MGE studio instead of
using the out of the box tooltips for some features in our map, we have used
an aspx page to display the information for the feature on the tooltip.  It
looks great, but the size is an issue as the tooltip covers up alot of other
features on the map.

The aspx page is displayed in an iframe for the tooltip.  I was wonder if it
was possible to have a tooltip that displays a label which shows information
stored in the sdf (ie. parcel id), then have a link/image/button the user
can hover over or click on which would expand the rest of the iframe and
show the rest of the information.  

Now you might ask, why don't you just have a link in the aspx page to open
the full report?  Well we already have that link in the aspx page so the
user can click and view a report on the feature, but to keep the tooltop
small, I'd like them to be over to just see one line of information then
have the ability to expand that tool tip to show other quick reference
information (such as address, and an image for example) but without it
taking up the real estate on the tooltip initially.   

In studio we have this for the tooltip:

CONCAT('<iframe width=350 height=130
src="" class="moz-txt-link-rfc2396E" href="http://mysite/tooltip.aspx?MAP_ID=',PARCEL_ID,'">"http://mysite/tooltip.aspx?MAP_ID=', PARCEL_ID, '" frameborder=0
marginwidth=0 marginheight=0 />' )

The problem I have is I don't know how in studio to collapse/expand or hide
the iframe. 

Thanks.



--

GEMTEC
            Limited

Andrew DeMerchant

tel: 506.453.1025  /  toll-free: 1.877.243.6832
fax: 506.453.9470

This e-mail message (including attachments, if any) is confidential and may be 
privileged. Any unauthorized distribution or disclosure is prohibited.  
Disclosure to anyone other than the intended recipient does not constitute 
waiver of privilege.  If you have received this e-mail in error, please notify 
us and delete it and any attachments from your computer system and records.
------------------------------------------------------
Ce courriel (y compris  les pièces jointes) est confidentiel et peut être 
privilégié.  La distribution ou la divulgation non autorisée de ce courriel est 
interdite.  Sa divulgation à toute personne autre que son destinataire ne 
constitue pas une renonciation de privilège.  Si vous avez reçu ce courriel par 
erreur, veuillez nous aviser et éliminer ce courriel, ainsi que les pièces 
jointes, de votre système informatique et de vos dossiers.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to