voyent
New Accordion Prototype Available  XML
Forum Index -> Components Go to Page: Previous  1, 2
Author Message
ken.fyten

Joined: 26/Oct/2004 00:00:00
Messages: 1343
Offline


The ICEfaces 1.6.0 DR#1 release has a very rough demo of it in the Component Showcase sample app. We'll be improving this for the official release.

Regards,
Ken

Ken Fyten
VP Product Development
ICEsoft Technologies, Inc.
tony.herstell

Joined: 01/Dec/2006 00:00:00
Messages: 206
Offline


This is a demo of the TYPE of component.

http://www.javaserver.org/jmaki/spry/plainAccordion.jsp
hurzeler

Joined: 13/Dec/2006 00:00:00
Messages: 33
Offline


Can you point me in the direction for the panelAccordion docs. I am interested in the css options.
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


Hi Bernhard,

Sorry, our docs for the Accordion are still a work in progress but the following classes are applied:

// PanelAccordion constants
public static final String PANEL_ACCORDION_DEFAULT_STYLE_CLASS =
"iceAccordion";
public static final String PANEL_ACCORDION_HEADER =
"Header";
public static final String PANEL_ACCORDION_CONTENT =
"Content";
public static final String PANEL_ACCORDION_CONTAINER =
"Container";
public static final String PANEL_ACCORDION_STATE_COLLAPSED =
"_collapsed";

Philip

.
hurzeler

Joined: 13/Dec/2006 00:00:00
Messages: 33
Offline


Do you perhaps have a css example (royale.css)?
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


/* common accordion headers */
.iceAccordionHeader, .iceAccordionHeader_dis, .iceAccordionHeader_collapsed,
.iceAccordionHeader_collapsed_dis {
background-color: #EFEFEF;
background-image: url( "./css-images/table_col_header.gif" );
background-position: bottom;
background-repeat: repeat-x;
font-weight: bold;
text-align: left;
color: #000000;
border: 1px solid #CCCCCC;
border-bottom: none;
padding-left: 2px;
padding-right: 5px;
padding-top: 4px;
padding-bottom: 4px;
cursor: pointer;
}
.iceAccordionHeader_dis, .iceAccordionHeader_collapsed_dis{
color: #999999;
}

.iceAccordionContent, .iceAccordionContent_collapsed,
.iceAccordionContent_collapsed_dis, .iceAccordionContent_dis {
background-color: #EFEFEF;
border: 1px solid #CCCCCC;
border-top: none;
padding-left: 5px;
padding-right: 5px;
}

.
hurzeler

Joined: 13/Dec/2006 00:00:00
Messages: 33
Offline


Two things:

When I change the color to "white" ie color: white; the color of the header does not change. Can you confirm that it stays black?

Secondly what does the apendix _dis refer to?
tyler.johnson


Joined: 18/Apr/2007 00:00:00
Messages: 93
Offline


Hi,

I was able to change the header to white using color:white in .iceAccordionHeader.

accordion_dis refers to the disabled style class.

Tyler
 
Forum Index -> Components Go to Page: Previous  1, 2
Go to:   
Powered by JForum 2.1.7ice © JForum Team