Sample code to create a slider tip to display scale and resolution:
var slider = new GeoExt.ZoomSlider({
renderTo: document.body,
width: 200,
map: map,
plugins: new GeoExt.ZoomSliderTip({
template: "Scale: 1 : {scale}<br>Resolution: {resolution}"
})
});
Configuration properties in addition to those listed for Ext.Tip.
String Template for the tip. Can be customized using the following keywords in curly braces: