sridhars711 / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

Allow custom image names in themings #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great to be able to define images names in the tree object when
initializing it.

This would let us choose a specific image, or a different format (in my
case, i want to use png images to use the FamFamFam icons)

Like having :

$("#tree").dynatree({
    title: "Dynatree root", 
    ...
    ajaxDefaults: { 
        cache: false,  caching.
        dataType: "json" 
    },
    images: {
      ...
      ltL_ne: "ltL_ne.gif",
      ltL_nes: "ltL_nes.gif",
      ...
    }
}

Original issue reported on code.google.com by odiss...@gmail.com on 28 Nov 2008 at 4:10

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 30 Nov 2008 at 3:15

GoogleCodeExporter commented 9 years ago
Images names are hard coded, so PNGs are not possible.

Original comment by moo...@wwwendt.de on 30 Nov 2008 at 6:00

GoogleCodeExporter commented 9 years ago
Image names are now set in the CSS.

Original comment by moo...@wwwendt.de on 14 Jan 2009 at 7:49

GoogleCodeExporter commented 9 years ago
considered verified

Original comment by moo...@wwwendt.de on 17 Jul 2012 at 4:12