Select to view content in your preferred language

What's wrong here?

778
4
09-29-2011 03:53 AM
deleted-user-tmoWMkOb1VrD
Deactivated User
I have a strange problem with an application that I try to make.
If I click on the map to set a point, the point is set far south from where then mouse is clicked and if I use shift to zoom in the map, the extent is again drawn far south from the mouse cursor.


The code is at
http://kortservice.vejle.dk/driftweb/
0 Kudos
4 Replies
derekswingley1
Deactivated User
It's usually a CSS issue...easiest way to avoid this type of issue is to use the dijit layout widgets (Border Container and Content Panes).
0 Kudos
deleted-user-tmoWMkOb1VrD
Deactivated User
Thanks.
It worked when I put the other content i contentpanes to.
0 Kudos
deleted-user-tmoWMkOb1VrD
Deactivated User
Hi Derek.
I still have the same problem in all browsers beside IE. In IE it works fine.
I have all my content in dijit.layout.Contentpanes, the map have it�??s own  contentpane.
I don�??t use layoutcontainers or bordercontainers because then the contentpanes suddenly get hidden and the page is all white.

0 Kudos
derekswingley1
Deactivated User
Using a border container is the recommended approach. Try starting with the "Header and Footer" layout example.
0 Kudos