[fusion-users] Get Fusion object from page outside Fusion interface

Paul Deschamps pdeschamps at dmsolutions.ca
Mon Jun 29 10:05:05 EDT 2009


Hi Matteo,

It's been a while since I used "frames" in any application i've developed
though here's some pointers. If I am correct:

window.frames <- contains an array of all the frames in the Browser window.

window.frameset1.document <- the document Obj for the "frameset1"
window.AlertFrame.document <- the document Obj for the "AlertFrame"

Inside the AlertFrame frame you can reference the parent obj

parent.window.frameset1.document

Frames are a little "tricky" because their are a lot of security constraints
and cross browser issues. Personally I blessed the day when frames became a
thing of the past.

Hope this helps

Cheers

Paul..




On Mon, Jun 29, 2009 at 6:29 AM, Matteo <matteo.conte1979 at libero.it> wrote:

>
> Hi all,
>  I need to access to Fusion object from a page outside fusion interface.
>
> Example  my index.php page contain this code
> <frameset name="frameset1" rows="*,200">
> <frame src =
> "/mapguide2010/fusion/flexviewer.php?TEMPLATE=google_slate&SESSION=<?=
> $mgSessionId ?>&APPLICATIONDEFINITION=<?= $weblayout ?>" name="mgFrame"
> scrolling="no" frameborder="no" marginheight="0" marginwidth="0">
> <frame src = "alert.php" name="AlertFrame" scrolling="no" frameborder="no"
> marginheight="0" marginwidth="0">
> </frameset>
>
> How I can access to Fusion from AlertFrame? I tried top.mgFrame.Fusion but
> I
> get a error.
>
> Please help me
> Regards,
> Matteo
> --
> View this message in context:
> http://n2.nabble.com/Get-Fusion-object-from-page-outside-Fusion-interface-tp3173612p3173612.html
> Sent from the Fusion Users mailing list archive at Nabble.com.
>
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
>



-- 
   Paul Deschamps
   Applications Specialist
   DM Solutions Group Inc.

   Office: (613) 565-5056 x28
   pdeschamps at dmsolutions.ca
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20090629/0f0bb099/attachment.html


More information about the fusion-users mailing list