[Users] GeoExt.LegendPanel in a separated div...

Paul james pauljame at gmail.com
Tue Jul 6 15:25:02 CEST 2010


Hello guys!

My Legend :

 var _legendPanel = new GeoExt.LegendPanel({
        defaults: {
            style: 'padding:5px',
            imageFormat: "image/png"
        },
        title: 'Legenda',
        bodyStyle: 'padding:5px',
        width: 350,
        autoScroll: true
    });

I´m able to add that to my Viewport... But I want to add to a separated
Div...
I tried to add :
  contentEl:"divDialog"

But It does not work... Any idea?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100706/8ce556de/attachment.htm 


More information about the Users mailing list