Login Register

theme

Multiple dojo, Different theme question.

Hello, it is very good design to support multiple dojo in one page, that is helpful for webapp's integration and portal application. But I encountered a problem with theme, the problem is that my application use theme tundra, but another is using soria, in that case I have both class names in the body tag, that make a confuse.

I thought maybe I did not need to add the css name to the body tag, I may add it to a high level div tag, but for some widgets like dialog, it did not work because it lives just under the body tag.

what is dojo doing in onLoad?

if the link was created by event , the result will show in window.
if the link was created before onload , the result will show in tagets.

what is dojo doing in onLoad?

test operation:
click 'add event link' --> 'it is a insert link on click' show in window
click 'it is a insert link before onload' or 'it is a hard-coding link' show in tagets. 
 
test Code:
<a herf="#" onclick="return doInsertLink()" >add event link </a><br/><br/>

Themes and styling

Hello,

First of all, these are my first words around here, so I would like to say GREAT JOB to everyone involved in Dojo development. I'm new to Dojo, just found out about it, and I'm truly impressed!! NOBODY has given better quality web frontend even in commercial projects. keep it up!! ;)

Now, as a total dojo newbie, I have a few questions about the themes and styling of the widgets.

Wanted: feedback on tundra and the dijit themes - visual nits, bugs, critiques

What's been bugging you with tundra/etc as a visual/graphic design? What causes you to override / extend it or even start a new theme? Lets use this thread to gather up all that feedback, then we can file bugs where appropriate and start fixing.

Bar Chart - different formatting(color) for each bar.

Hi,
I have a requirement for Bar chart where every bar of the chart is of a unique color. How can I achieve this? Can I create a theme for the same? Is it already available?

instead of

chart18.addSeries("Series A", [29, 21, 13, 44, 57], {stroke: {color: "red"}, fill: "lightpink", plot: "myBarPlot"});

I wrote

chart18.addSeries("Series A", [29, 0, 0, 0, 0], {stroke: {color: "red"}, fill: "lightpink", plot: "myBarPlot"});
chart18.addSeries("Series B", [0, 21, 0, 0, 0], {stroke: {color: "green"}, fill: "lime", plot: "myBarPlot"});

Syndicate content