Sample code to create a slider tip to display scale and resolution:
var slider = new GeoExt.LayerOpacitySlider({
renderTo: document.body,
width: 200,
layer: layer,
plugins: new GeoExt.LayerOpacitySliderTip({
template: "Opacity: {opacity}%"
})
});
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: