cutexxbaby

How to put dojox thumbnail picker into infowindow

Discussion created by cutexxbaby on Apr 17, 2011
hi
i recently try out to use one of the dojo toolkit which is the dojox thumbnail picker but i couldn't put in the infowindow any one know how to put in the infowindow inside one of the tab container...really very urgent and i really need help in this !!!!!! cause i try out it can't work, it say that the dijit is null
function int()
{
var itemRequest = {
                query: {},
                count: 20
            };
            var itemNameMap = {
                imageThumbAttr: "thumb",
                imageLargeAttr: "large"
            };


            dijit.byId('thumbPicker4').setDataStore(imageItemStore, itemRequest, itemNameMap);


}
function getInfoContent(graphic) {

            //make a tab container
            var tc = new dijit.layout.TabContainer({
                region: "center",
                style: "height: 65%; width: 100%;  "
            }, dojo.create("div"));

            //display attribute information
            var cp1 = new dijit.layout.ContentPane({
                //style: " background-color: red; ",
                title: "<font color= #E4287C><b>1900 - 1930</font> ",
                content: "<div id=\"thumbPicker4\" dojoType=\"dojox.image.ThumbnailPicker\" size=\"300\" isClickable=\"false\" ></div><div jsId=\"imageItemStore\" dojoType=\"dojo.data.ItemFileReadStore\" url=\"images.json\"></div>"
            });
            tc.addChild(cp1);

return tc.domNode;
}
dojo.addOnLoad(int);
<body>
<div id="thumbPicker4" dojoType="dojox.image.ThumbnailPicker" size="300" isClickable="false" ></div><div jsId="imageItemStore" dojoType="dojo.data.ItemFileReadStore" url="images.json"></div>

Outcomes