| | |
CSS and Ajaxa Accordion
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Dec 2007
Posts: 41
Reputation:
Solved Threads: 0
hi
i have problem with css and accordion when i change the color of accordion head at css the accordion become very slow when close and open it i do not know what is the problem this is the part of css code that belong to accordion header
.accordionHeader
{
border: 1px solid #2F4F4F;
color: #d2b48c;
background-color: #50a3be;
font-family: Arial, Sans-Serif;
font-size: 14px;
font-weight: bold;
padding: 5px;
margin-top: 5px;
cursor: pointer;
vertical-align: middle;
text-align: center;
background-image: url(images/edge2.gif);
}
.accordionContent
{
background-color: #fafafa;
border: 1px dashed #2F4F4F;
border-top: none;
padding: 5px;
padding-top: 10px;
}
.accordionLink
{
vertical-align: middle;
text-align: center;
}
AND THIS PART FROM ASPX FILE :
<td align="right" valign="middle" width="100%" colspan="4">
<cc1:Accordion ID="Accordion1" runat="server" SelectedIndex="0"
HeaderCssClass="accordionHeader"
ContentCssClass="accordionContent"
FadeTransitions="false"
FramesPerSecond="40"
TransitionDuration="150"
AutoSize="None"
Width = "100%">
plz any one can helpe
Best Regards
i have problem with css and accordion when i change the color of accordion head at css the accordion become very slow when close and open it i do not know what is the problem this is the part of css code that belong to accordion header
.accordionHeader
{
border: 1px solid #2F4F4F;
color: #d2b48c;
background-color: #50a3be;
font-family: Arial, Sans-Serif;
font-size: 14px;
font-weight: bold;
padding: 5px;
margin-top: 5px;
cursor: pointer;
vertical-align: middle;
text-align: center;
background-image: url(images/edge2.gif);
}
.accordionContent
{
background-color: #fafafa;
border: 1px dashed #2F4F4F;
border-top: none;
padding: 5px;
padding-top: 10px;
}
.accordionLink
{
vertical-align: middle;
text-align: center;
}
AND THIS PART FROM ASPX FILE :
<td align="right" valign="middle" width="100%" colspan="4">
<cc1:Accordion ID="Accordion1" runat="server" SelectedIndex="0"
HeaderCssClass="accordionHeader"
ContentCssClass="accordionContent"
FadeTransitions="false"
FramesPerSecond="40"
TransitionDuration="150"
AutoSize="None"
Width = "100%">
plz any one can helpe
Best Regards
Last edited by IT_Techno; Dec 4th, 2008 at 3:27 am.
![]() |
Other Threads in the C# Forum
- Previous Thread: How to store an xml file in the Protected Storage?
- Next Thread: listview looping
| Thread Tools | Search this Thread |
.net access algorithm array barchart bitmap box broadcast c# check checkbox client combobox control conversion csharp custom customactiondata database datagrid datagridview dataset datastructure date/time datetime datetimepicker degrees development dll draganddrop drawing encryption enum event excel file filename files form format forms function gdi+ gis gtk hash httpwebrequest image index input install java label list listbox mandelbrot math mouseclick mysql operator outlook2003 path photoshop picturebox pixelinversion pixelminversion post programming radians regex remoting richtextbox server sleep snooze socket sql statistics stream string table tables tcp text textbox thread time timer update usercontrol usercontrols validation visualstudio webbrowser webcam wia windows winforms wpf xml





