[Chameleon] Re: mapsize and jsapi
Brent Lund
Brent.Lund at state.mn.us
Wed Mar 7 09:09:55 EST 2007
Liz,
Please disregard the last message I sent. I pulled the following out
of template_mapsize.html and pieced it into the template I already had.
<script language="JavaScript" src="mapsize.js"
type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
function myOnLoad()
{
CWC2OnLoadFunction();
windowResize();
if (gCWCJSAPI) {
goCWCJSAPI.RegisterEvent(MAP_EXTENT_CHANGED,"resizeMapComponents");
}
}
</script>
I then modified mapsize.js to refer to the div ids in my template.
Works slick.
Thanks
Brent
More information about the Chameleon
mailing list