|
||||
[Chameleon] Hawaii ApplicationPaul Spencer spencer@dmsolutions.caThu, 11 Sep 2003 12:36:24 -0400
|
Steve, thanks for pointing that out. This highlights an interesting problem. The map image is a DHTML layer that is positioned as the page loads. It can be repositioned, but we don't (I don't even know if we can) trap page resizes ... in NS/Mozilla, they reload the page on a resize. IE doesn't. The issue can be resolved with template design, I believe. In this case, the page could be kept at a fixed position from the left of the page. I *think* another option that could be used in pages that want to center themselves would be to connect to the window resize event (from http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/events.asp you can see the onresize event properties) using something like: <script language="JavaScript"> window.onresize = myresizehandler; function myresizehandler() { window.location.reload(); } </script> (note: not tested, should test for browser version etc first) I may consider looking into repositioning the map image on a resize event in IE as well, I'll add an enhancement bug for that. Cheers, Paul woodbri@swoodbridge.com wrote: >Nice jobs guys. I am using IE 6.0.2... and noticed some strange >behavior. If I widen the browser window enough the map image dis- >associates from the rest of the page. IE as the page layout widens >you get to a point where the text is centered on the page is dragged >to the right but the image is not. > >-Steve >_______________________________________________ >Chameleon mailing list >Chameleon@lists.maptools.org >http://lists.maptools.org/mailman/listinfo/chameleon > > > -- -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |