Hi, i just try to reproduce this Basic Dialog: http://dojocampus.org/explorer/#Dijit_Dialog_Basic
Here is my attempt with dojo-1.1.0 package:
title
dojo.require("dijit.Dialog");
Hi, i just try to reproduce this Basic Dialog: http://dojocampus.org/explorer/#Dijit_Dialog_Basic
Here is my attempt with dojo-1.1.0 package:
title
dojo.require("dijit.Dialog");
Hi,
I would want to do setHref("mypage.html#anchor") from a ContentPane, without success... The pane doesn't scroll to #anchor.
Is there another way to do it ?
Thanks,
Hi
I have just started to use this toolkit and I think its really sweet working with.
I have made a function which looks like this:
function toggleAndChangeStyle(targetId,targetId2,classId) {
if (document.getElementById){
var target = document.getElementById( targetId );
var target2 = document.getElementById( targetId2 );
dojo.xhrGet(
{
url: '/servlet/gui',
load: helloCallback,
error: helloError,
content: {groupId:targetId}
}
);
if (target.style.display == "none"){
As a user of Dojo since 0.4, I have to say that I prefer the dialog simply appearing on show, rather than fading in. The fade in and fade out animations on show and hide respectively can be nice but should be optional by a parameter. Would this be possible to implement?
I have been eagerly waiting for the Grid. I currently have a page that makes extensive use of hidden ContentPanes. I was using os3grid, but wished to switch to an single toolkit. The grid I defined doesn't display in the ContentPane when the style of the ContentPane is changed to "block".
I modified the existing test_grid.html page as a test case.
After clicking the "Show Hidden ContentPane" button the column headings show as only two small boxes.
Here is an excerpt from the code:
Hi!
I'm having some trouble with the programmatic creation ov a dijit.form.ValidationTextBox:
I'm currently wondering why this doesn't work:
The problem seems to be the given Regular expression. The source file of the ValidationTextBox states, that the regular expression needs to be a string. The validation of the entered string always fails.
Hi everybody!
I've already searched the forum and tests but couldn't find the answer... how do I prgrammatically add rules and labels to a slider?
Here is the code fragment I've got so far:
Untitled Document
How create slider rules and labels programatically? No have examples in the documentation.
I tried this, but slider rules not work:
############################################
function openSlider(){
//Vertical Slider
var node = dojo.body().appendChild(document.createElement("div"));
node.id = 's1';
test = new dijit.form.VerticalSlider({
value:30000,
minimum:1000,
maximum:30000,
discreteValues:10,
intermediateChanges:"true",
//showTooltip: "true", //=> This works for slider 1.0?
Hello, world:
I'm working on a composite widget. It consists of dijit.form.ValidationTextBox and some divs that get populated with dijit.form.TextBoxes or their innerHTML gets set, depending on user input and some dojo.xhrGet action.
I've been working with this widget for awhile now with no errors, but today I'm getting an unexpected and frustrating error.
Two changes to my working code:
1. put everything in the template in a table for visual reasons.
2. added a new div to let the user know why they're getting form fields instead of innerHTML updates.
Here's my template:
I create TreeNodes programmatically with arrays sent over by Ajax. They can include id/objectId information, but the id information in the array isn't applied to the created nodes, so I problems refering to the programmatically created Nodes with dojo.byId or document.getElementById.
Solved for myself by changing createNode in my TreeV3 Extension, but maybe the createSimple function should already do this (filed an enhancement request)