Hi,
I want to insert my image instead of titlepane default image, can i do it by modifying my div tag. I am trying the below code but this is not working for me. Could you please help me in this scenario. I don't want to do it by modifying my css
<div dojoType="dijit/TitlePane" data-dojo-props="title: '<img src=images/6.0/newdropdown.jpg>';region: 'top'" id='feedContainer' style="width:100%;background:green;text-align:center" >
I wound up using dojo.fx to get the look I was going for. A sample from my app is below. Regardless, you'll probably have to tweak the CSS a bit.JS://Toggles
function basemapToggle() {
toggler = new dojo.fx.Toggler({
node: "basemaptoggle",
showFunc: dojo.fx.wipeIn,
showDuration: 1000,
hideDuration: 1000,
hideFunc: dojo.fx.wipeOut
})
}
dojo.addOnLoad(basemapToggle);
HTML:<div id="basemapbutton">
<button dojoType="dijit.form.Button" baseClass="tomButton" title="Switch Basemap">
<img src="images/imgBaseMap.png"/>
<script type="dojo/method" event="onClick">
toggler[(dojo.style("basemaptoggle","display") == "none") ? 'show':'hide']();
</script>
</button>
<div id="basemaptoggle" dojoType="dijit.layout.ContentPane" style="#900;display: none;">
<div id="basemapGallery">
</div>
</div>
</div>