Hi all;
To put animated GIF related with your map busy if (False or True)
you can use two methods
(For Map Only)
1.in your main page which contain Map iframe put Div with id = "divRefresh"
as following
<div id="divRefresh" name="divRefresh" class="cssRefresh" style="...YOUR
STYLE...">
....YOUR IMAGE....
</div>
2.in viewerfiles/ajaxmappane.templ edit the two functions (OnMapLoading) and
(OnMapLoaded) by replace the folloing lines
var frmParent = parent.frames["tbFrame"];
var objDivRefresh = frmParent.document.getElementById("divRefresh");
To
var objDivRefresh = parent.parent.document.getElementById("divRefresh");
(For whole page loading)
2.use following script
tryAgain();
function tryAgain()
{
frame=document.getElementById("mapFrame");
if(frame.document.readyState=="complete")
{
document.getElementById('myimg').style.visibility = 'hidden';
}
else
{
setTimeout("tryAgain()",100);
}
}
I hope it is useful ..........
-----
http://gsg-eg.com
http://n2.nabble.com/file/u111068/head2.jpg
GeoService
--
View this message in context:
http://n2.nabble.com/Map-Busy-tp1359322p1359322.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users