Login Register

contentPane

borderContainer with 2 contentpane & splitter --> to hide and show one contentpane instead of resize

[EDIT: moved to the appropriate forum.]

I am using a borderContainer with two contentpanes with splitter true. I would like to hide and show one of the contentpane instead of resize.

Any pointers would be of great help.

Raaj

Scrollbars in ContentPane

I modified mail demo example slightly. The tabs it adds dynamically has contents that does not fit in the viewport. As a result I expected a scrollbar to appear for the LayoutContainer that is added as a tab dynamically. However, I don't see any scrollbar. What do I need to do?

Append content to ContentPane

This should be a simple problem. I just want to append text into an existing ContentPane without clearing what's already in it.

Some background: I have a dictionary lookup tool that dynamically returns results into a ContentPane using setContent. However, there is a link for "More results" which fetches data from the server via XHRPost. I want to append this to the ContentPane, rather than reset the contents.

I've tried different things but can't get anything to work. Here are some examples of what I've tried:

BorderContainer - detecting change

I have set up two side-by-side ContentPanes within a BorderContainer, with a splitter between. I am trying to figure out how to detect when the user moves the splitter.

I've looked in the Book and API documentation, but haven't found what I'm looking for. I realize this is a simple question, but I'm new to Dojo and still learning how to find my way around. Any help or pointers would be appreciated.

Thanks

ETA: I should clarify, that I AM working with the dojo.connect method. However, since the splitter is created by Dojo I'm not sure how best to reference it.

multiple tabs, same content

Hi,

I am new to dojo and web development. I was wondering if it is possible to set up a TabContainer which holds several tabs, but i want each tab to function like a standard button, and point to the same content in all three tabs. In other words, I would like to run a specific JavaScript function on the same content in all three tabs, but I want it to be the same content. Is this possible? Thanks!

scrollbar partially hidden by a right ContentPane in a TabContainer (using windget declaration)

Hello,

here is my html/dojo source file :
(I made it as simple as possible, for the example)

bad rendered

@import "dojotk/dojo/resources/dojo.css";
@import "dojotk/dijit/themes/soria/soria.css";

 

dojo.require("dojo.parser");
dojo.require("dijit.Declaration");
dojo.require("dijit.layout.BorderContainer");

Loading JS on demand for dijit.layout,contentpane

HI

I am using a dijit.layout.contentpane in a tab container and i want to load a custom javascript on the load of that contentpane/tab by the user.

I need that script as it has the definitions of the functions those would be called on the onLoad event of the contentpane.

Please help

Dino

ContentPane onLoad again

Hi,

I'm rather new to dojo so hello everybody.
I am currently stuck in a topic which already came up several times, but I couldn't find a satisfying answer.

I'm trying to populate a contentPane using a external file. Something like
<div dojoType="dijit.layout.ContentPane" href="content.htm"></div>

In content.htm I'd like to do some js setup after beeing loaded. In the dojo documentation it is stated that dojo/method script tags are evaluated in the loaded content. Therefore my content.htm looks like

ContentPane on Safari

Hi,

I am using ContentPane. Now, everytime I set the href using setHref() in dojo 0.9, it doesn't get the resource back on Safari. This works fine on other browser. It just says Loading... Also, any xhr* requests I make to service, doesn't return either. Anyone have any idea?

Thanks.

TabContainer tabs overlapping pane until refresh

From a fresh load of my page the tabs overlap the pane. Once I click refresh, everything looks normal.

I am using left-h as the tabPosition and the contentpane is wider than it should be overlapping with the tabs.

The dijitTabPaneWrapper div from a fresh load has a width of 504 and becomes 486 after I reload the browser. Where is this 20px coming from that doesn't happen after a page reload? :)

Syndicate content