PDA

View Full Version : Image slide/drag/drop



gerartje
6 Jul 2010, 1:31 AM
Hi,

I have a custom made map (800x600) and I would like to be able to slide the map.
Actually the same functionality as the google map example concerning the sliding/drag/drop but with my own image.

I have set my image as background-image of a panel...but then what? :-)

Any suggestions?

tnx

gerartje
6 Jul 2010, 3:37 AM
ns.mapPanel = new Ext.Container(
{
cls:"map",
scroll:"both",
html:'<img src="images/map.png" id="map" width="750" height="1118" />'
});

life can be simpel :-)

TommyMaintz
6 Jul 2010, 1:34 PM
Sometimes it can be! :)