Using Accordion different CSS definitions in header lines
Hallo *,
using accordion with header and content lines I would like to chang
the look and feel concerning to the rest of my homesite. I use
addClass and it works in the content of the accordion. But in
Headerlines I could not change the color.
Following I try out:
in CSS file:
.accordion_header:hover, .accordion_header:active, .accordion_header:link, .accordion_header:visited
{
font-weight:normal;
color:#00ff00;
text-decoration:none;
}
in HTML file:
$("#accordion_1 h4").addClass('accordion_header');
...
<div id="accordion_1">
<h4 class="content"><a href="#">2008 - Etwas ruhiger</a></h4>
<div>
<font class="words_accent">19.12.2008, Paderborn.</font>
Weihnachtstraining 2008
...
I tied out several versions of CSS definitions with or without
hover... effects. Underlining in conjunction with hover works but
color is still fix. May be I use very simple code - sorry.
I'm a absolutly beginner in jquery - do I use the correct channel...
Thanks for every help, vatel