Antoni, I think this is a great question because I suspect most users probably do exactly what you're doing (because it is "fun", sometimes more accurate and the tool is called a "slider" after all) which is to click and drag the slider to the increment/value they want. It seems from your description, however, that the component is setup to submit data as long as you have the mouse button depressed. Grrrr. Obviously what you want is for data only to be submitted on "mouse up" so changing the slider component to do that is where to start.
Or, have you tried simply clicking on the zoom tool near the value you want? If you have simple increments and they are clear to the user then telling the user how to use the tool is never a bad idea (unless you work for Apple apparently). Last but not least, if the issue is really dragging you down (excuse the pun) you could use a different tool, like a combo box. This probably isn't much help, but hopefully provides encouragement. Cheers, Christine Bush Mountain View, California > Message: 1 > Date: Fri, 22 Jul 2011 14:23:31 +0200 > From: "Vidal, Antoni" <antoni.vi...@icc.cat> > Subject: [Users] How to avoid multiple request using zoomSlider > To: <users@geoext.org> > Message-ID: > <784fac631c0cb14cae68764151d5da410b06f...@corriol.icc.local> > Content-Type: text/plain; charset="iso-8859-1" > > Hi list, > > > > I've got a zoomSlider control and I noticed that moves zoomSlider from start > zoom level (1) to max zoom level (10), all intermediate zoom (2,3,4, etc.) > are requested to server, causing unnecessary over traffic. Is there any way > to only sent request to server (tilecache in my case) when user stops moving > zoomSlider? > > > > Thanks in advance > > > > Antoni Vidal _______________________________________________ Users mailing list Users@geoext.org http://www.geoext.org/cgi-bin/mailman/listinfo/users