Login Register

problem

Problem with destroyDescendants(preserveDom: Boolean?)

Hi,

I'm doing some tests, and I came upon this problem with destroyDescendants(preserveDom: Boolean?) function.

I have a div that lazy-loads some code, which in turns lazy-loads another section.

Now, if I try to destroyDescendants(false) on the container pane, it removes everything, but does not unregister all ids.

This problem appear only with nested lazy-load. If the lazy-load is 1 level only, it works. But 2 levels and more, it removes all DOM but not the IDs.

I've set up a page here:
http://dojo-test.akayami.homeip.net/test4.html

Grid not rendering after appending to programmaticaly created 'div'

Hi, I have the problem described in the subject, code:

aaa

@import "./scripts/dojoRoot/dijit/themes/soria/soria.css";
@import "./scripts/dojoRoot/dojo/resources/dojo.css";
@import "./scripts/dojoRoot/dojox/grid/resources/soriaGrid.css";
.heading {
font-weight: bold;
padding-bottom: 0.25em;
}

#grid {
border: 1px solid #333;
width: 50em;
height: 30em;
}

dojo.fadeIn on Newly Create Node Failing

Hi, I am trying to create a new div as a child and then fade it in. Very basic but I can't get it to work!

Firebug gives me the error "node.style is undefined" when I call the anim method. What am I doing wrong?


function adddiv(text, divid){

// Create new div
var idd = counter++;
var txtdiv = document.createElement("div");
txtdiv.id = idd;
txtdiv.innerHTML = text;

// Make invisible and add to the top of the list
dojo.style(txtdiv, "opacity", 0);
dojo.place (txtdiv, divid, 0);

// Fade it in

Double onclick handler call with Dojo 1.2 and custom widget

I'm posting this only after much Googling and searching of Dojo forums for a solution to my problem. I re-implementing a prototype web application using Dojo. (The prototype uses no JavaScript framework.) I'm a Dojo noob.

This problem surfaced when I upgraded to Dojo 1.2.0 from Dojo 1.1.1.

Problem description: for custom widgets utilizing ondijitclick, I'm getting double onclick handler invocations with Dojo 1.2 only. The key events (keyup and keydown for space and enter, respectively) work correctly in all cases.

Insert FORM tag html into a ContentPane widget don't work

I have this scenario :

a) I create dinamically a contentPane widget in my applicazion using the setHref(url) method
( the URL is a page with the FORM HTML inside )
b) If with the firebug inspector I analize the contentpane, I see that the tag html <FORM...> </FORM> are deleted from the content.

So that If I submit the form inside the contenpane...no work because there aren't the html <form> </form>

Problem with For Loop counter when connecting events

I'm using the following codes to loop through a number of elements on a page and connect an onclick event. However when the set_popup_image method is called, the value 7 is always passed through. This is also the case if using n in the function definition instead of idx. I had this problem in another loop, and the use of the proxy variable (in this case idx) solved the issue, but even that doesn't solve it now.

for(var n=1; n<=7; n++)
{
var idx = n;
var img = dojo.byId('image_'+idx.toString());

Grid programmatically created IE problem (FF, Opera OK)

Hi,

I am creating a grid programmatically, it appears correctly in Firefox 2 and Opera 9.5, but I get this error in IE7: "Object doesn't support this property or method". This is the code:

// a grid view for the dimensions
var dimensionView = {
cells: [[
{name: 'Id', width: "8em", field: "id"},
{name: 'Name', width: "8em", field: "name"},
{name: 'Version', width: "7em", field: "version"},
{name: 'Agency Id', width: "7em", field: "agencyId"},
{name: 'Final', width: "7em", field: "isFinal"}
]]
};
dimensionLayout = [ dimensionView ];

What might cause charts to fail under IE7?

For some reason, at least on my main development machine the charts (pulled from SVN revision 14583) do not work on my machine under IE7. They appear fine under Firefox 3.

The problem is pretty obvious - it happens even when loading the chart tests (e.g. test_chart2d.html). While space appears to be reserved for the charts, they never become visible.

I'm guessing this isn't a widespread problem, since others seem to be using charts with IE7. Can anyone suggest what might be strange about my configuration which is preventing correct operation?

Regards,
Richard

Dialog problem: window underneath starts scrolling when dialog is moved across right/bottom window edge

Hi everybody,

Help, I really need to get rid of this.
I noticed this behavior also in the dialog tests of the 1.1.0 distribution.

When you drag a dialog out of the underlying window (right or bottom edge only)
the window starts scrolling in the opposite of the moving direction.

eg:
Move dialog to the right and cross right window edge => window content starts to scroll to the left.
Move dialog down and cross bottom window edge => window content starts to scroll to up.

Tested and confirmed in both FFox2 and IE7.

Thx &
Regards,
Horst

Problem with Lightbox, Lightbox doesn't open in the way it should

Hello all together,

I'm just working on the homepage of my little sister who is on an studentexchange in New Zealand. I just added the lightbox, but it doesn't work as I expected it and I am not able to find the mistake at all. Perhaps someone of you could take a look at it. http://katja.funnyprinter.de

thank you for help,
your sincerly,

Funnyprinter

Syndicate content