Hi,
Best way to debug that is with Firebug. Use the inspect tool to look
at the url of the expected image and see if the path is ok. The path is
relative to your stylesheet btw.
Regards,
Alexandre
On 11-03-31 06:20 AM, Vidal, Antoni wrote:
Hello,
I'm trying to customize treepanel using iconCls atribute but it seems
doesn't work properly.
My code:
{
"nodeType": "gx_layer",
"layer": "Grid5",
"text": "Grid 5.000",
"iconCls": "iconF5"
}
Style is definned in mycls.css:
.iconF5 { background-image: url(../../img/treeIcons/5m.png) 0 6px
no-repeat !important; }
Any idea?
Thanks in advance.
*Antoni Vidal*
Unitat d'Aplicacions SIG-WEB
Institut Cartogràfic de Catalunya
<http://mercuri.icc.cat/website/mob_nf/mob1/mob2/inici2.htm?CONSULTA=Institut%20Cartogr%25E0fic%20de%20Catalunya&XYADDRESS=429486:4580392>
Parc de Montjuïc, E-08038 Barcelona
Tel. (+34) 93 567 15 00 (ext. 3228)
www.icc.cat <http://www.icc.cat/>
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users
--
Alexandre Dubé
Mapgears
www.mapgears.com
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users