Has anyone had success using an ArcGIS Javascript API map within a jQuery UI accordion? I have a simple example here:
http://chadwilcomb.com/maps/test/AGS_jQueryUI.htm
There is an offset between the mousedown location and the map. For instance, if you SHIFT + Drag to zoom, you will see the zoom box is severely offset from the mouse location. Also, if you double-click to zoom, the map centers on a different location than where you double-clicked. I have checked all the CSS settings in Firebug and nothing seems to really help. Anyone have any other ideas?
Additional info:
I originally experienced this problem within an ASP.NET MVC3 View, but as you can see it still occurs in a simple HTML file.
The original map had a mouseover tooltip dialogue on a feature layer and that worked as expected.
The same behavior exists when using the Dojo Accordion as well...