<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I'm pretty sure you can't do that, as it would be really annoying and a
potential security risk<br>
if arbitrary webpages could do that.<br>
<br>
Instead, in the outer most page, include the viewer as an iframe:<br>
<html><br>
<body><br>
<iframe src="......ajaxviewer/?....params..." style="... location,
size, etc ...."></iframe><br>
<iframe src="your-tool-window.html" style=".... same
..."></iframe><br>
</body><br>
</html><br>
<br>
You should now be able to place the second iframe on top of the first
one (z-index).<br>
There are many JS snippets that allow you to drag an iframe around,<br>
so you can just make the iframe look like a window.<br>
<br>
That way, you can mimic an "always-on-top" window, but it stays within
the page, so the browser<br>
does not mind.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Nick Sebastyan skrev:
<blockquote cite="mid:677971.52803.qm@web38903.mail.mud.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<div
style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div>Greetings all, </div>
<div> </div>
<div>I have a question that is a little off topic but it implies
mapguide at a certain level so i will give it a shot.</div>
<div> </div>
<div>I have to implement some redlining functionality on mapguide
that will reside in a popup window because there are to much options
and will not be very user friendly if i will put all this commands in
the toolbar, context menu, taskpane etc.</div>
<div>For example you have options to create, save as xml , rename,
load, select, modify temporary layers, draw lines, polygons, insert
text, insert symbols from the resource repository, etc.</div>
<div> </div>
<div>The idea is that the window that provide all this functionality
will have to be an ALWAYS ON TOP window because it will be very
annoying if the window keep losing focus when you start to draw
something on the map. I have found some methods but they do not help
because they give constant focus only to a window and it will not be
possible to select what to draw and draw it this way
( an example will be window.showModalDialog('url', 'args')).</div>
<div> </div>
<div>So the question is does somebody know how you can truly make an
"always on top window" or have other ideas ? </div>
<div> </div>
<div>Thanks. </div>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
</body>
</html>