Hey Gordon,<div>Thanks so much for the tips and info!</div><div><br>Warren<br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 7:18 PM, Gordon Luckett <span dir="ltr"><<a href="mailto:gordon.luckett@arrowgeomatics.com">gordon.luckett@arrowgeomatics.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Warren,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I usually use iframes (and always call it the same thing “iFrameMap”)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I have found some issues with targeting some of the searches and
had to modify the code to find my “iFrameMap” within FUSION. </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I make use of the \www\fusion\layers\MapGuide\MapGuideViewerApi.js
file and modify the lines that show:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">var
Fusion = window.top.Fusion;</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">to </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">var
Fusion = window.top.iFrameMap.Fusion;</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">and
that usually works really well.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">I
use the iFrameMap for the AJAX Basic version to and usually pass a parameter to
the JS files with VTYPE=’AJAX’ or VTYPE=’FUSION’ so I
know what viewer API to use.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Hope
that helps.</span></p><div><div></div><div class="h5">
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hey Jason,</p>
<div>
<p class="MsoNormal">Sorry, my bad... I should know better to include
version details... It's been a long day :-)</p>
</div>
<div>
<p class="MsoNormal">I'm using MGE 2011.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I was just more curious what others are doing wrt Fusion.
Are people using iFrames, or Frames, or just building their wrappers?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thanks.</p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Warren</p>
<div>
<p class="MsoNormal">On Wed, Jul 28, 2010 at 5:35 PM, Jason Birch <<a href="mailto:jason@jasonbirch.com" target="_blank">jason@jasonbirch.com</a>> wrote:</p>
<p class="MsoNormal">Are you using a recent version? I think I saw some commits
that change<br>
the way widgets find their parent fairly recently (ie, could be bug).</p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
On 2010-07-28, Warren Medernach <<a href="mailto:wmedernach@gmail.com" target="_blank">wmedernach@gmail.com</a>>
wrote:<br>
> Hello all,<br>
> I'm trying to use the Fusion viewer within a frameset and I'm getting<br>
> some weird results using different browsers with 'out-of-the-box'<br>
> functionality.<br>
><br>
> For example, I have a Search function defined that works fine when I run
it<br>
> in FireFox or Chrome, but in IE it fails to select and zoom to the object<br>
> and a script error is thrown stating that it cannot find Fusion?<br>
><br>
> Are there any 'best practices' or suggestions to using Fusion within a<br>
> frameset?<br>
><br>
> Warren M.<br>
></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a></p>
</div>
<p class="MsoNormal"> </p>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br></blockquote></div><br></div>