Login Register

accordion

AccordionPane: Change URL and Refresh

I have an accordion where I'm displaying RSS feeds. I want to allow users to select from a list of feeds and have panes updated to display their selections. To make things simple, I use an example of an accordion with just one pane:

<div id="feedaccordion" dojoType="dijit.layout.AccordionContainer" duration="200">
    <div id="customize" dojoType="dijit.layout.AccordionPane" title="Customize Feeds">[list of feeds here]</div>
</div>

The text [list of feeds] contains links to a javascript function. The links have the following form:

The Gui layouts are not displaying correctly on my page, they don't show up

Hey I am trying to get the tests from dojo toolkit working at my site http://andydaykin.com/tests/container.html but nothing shows up, the original code is at http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/layout/te...

I have dojo 1.2 installed on my server, I copied the code except for the paths to the libraries and css. I don't understand why mine isn't working. I tried a simpler example to at http://andydaykin.com/tests/container1.html, but I still couldn't get it to work.

What am I doing wrong?

Styling Lists Contained in Accordions

I'm having a problem getting styles applied via css to unordered lists contained in an AccordionPane (using Dojo 1.1.1). In Firefox, it appears that none of the css is applied at all. In IE, the css is partially applied. Example:


<div class="accordion" dojoType="dijit.layout.AccordionContainer" duration="200">
<div id="one" dojoType="dijit.layout.AccordionPane" selected="true" title="Pane 1" href="one.html"></div>
<div id="two" dojoType="dijit.layout.AccordionPane" title="Pane 2" href="two.html"></div>

Selecting an accordion pane from and accordion container

The docs seem to indicate that you should be able to pass an object to an accordion container.
It seems it should work like tis:
var ac =dijit.byId("accordion"); //get the container
var spane= dijit.byId("SymptomsPane"): //get the particular pane
ac.selectChild(spane); //and select it

This doesn't work in FF3. Nothing happens.
The following error message in the log:
TypeError: newWidget.setSelected is not a function message=newWidget.setSelected is not a function

You would also hope that
ac.selectChild(4);

Dijit Exception thrown while making accordion

Hello, I am using 1.1.1, and I made an accordion, however when I load my page, I get an exception thrown, here is the message I got in the web developer console:

Error: [Exception... "'Error: Tried to register widget with id==dijit_layout_AccordionContainer_0 but that id is already registered' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "" data: no]

I can't show my code since if I try to put tags in it will render them as actual html...

Navigating Accordion panes with up/down arrow keys not supported?

I'm aware that The Book of Dojo doesn't mention anything about up and down arrow keys for Accordion container.
When I use the down arrow key to navigate to panes below, when I get to the second last one, pressing down arrow key again will not open the last one, it will keep opening the same pane (second last).
Is there any solution to this? Is it a bug? I'm using IE. Thanks.

Accordion rendering issues in IE

I am using the accordion within a layout container and there are several rendering issues that I see in IE6 & IE7. I saw many issues at 1.0.2, a couple of which seemed to have been fixed at 1.1.0rc2, but the accordion still has issues. I put together a sample test case by just copying code from the Dojo book.

Syndicate content