cesiel1993
02-03-2008, 02:52 PM
1) Script Title: Contractible Headers
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/navigate2.htm
3) Describe problem: I'm wondering if it's possible to have the plus signs turn to minus signs once they are clicked on and expanded.
I have my content and titles (two images for titles - one with plus and one with minus) as two different div classes.
Title CSS:
.rb_title {
background-image: url(../images/rb_title-plus.png); (or rb_title-minus.png for a minus sign)
width: 190px;
height: 23px;
padding: 7px 0px 0px 10px;
margin-top:7px;
margin-bottom:3px;
font: 14px Arial, Sans-Serif;
font-weight: bolder;
color: #FFFFFF;
cursor:pointer;
}
Content CSS:
.rb_content {
width: 190px;
margin: 0 auto;
}
Thanks!
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/navigate2.htm
3) Describe problem: I'm wondering if it's possible to have the plus signs turn to minus signs once they are clicked on and expanded.
I have my content and titles (two images for titles - one with plus and one with minus) as two different div classes.
Title CSS:
.rb_title {
background-image: url(../images/rb_title-plus.png); (or rb_title-minus.png for a minus sign)
width: 190px;
height: 23px;
padding: 7px 0px 0px 10px;
margin-top:7px;
margin-bottom:3px;
font: 14px Arial, Sans-Serif;
font-weight: bolder;
color: #FFFFFF;
cursor:pointer;
}
Content CSS:
.rb_content {
width: 190px;
margin: 0 auto;
}
Thanks!