hi,
i have a vertical splitter and there are two panes in it.
i have applied javascript to expand and collapsed when user check the checkBox.
i have a vertical splitter and there are two panes in it.
i have applied javascript to expand and collapsed when user check the checkBox.
var chk=document.getElementById("<%=myCheckBox.ClientID%>");
var productsp = $find("<%=newSplitter.ClientID%>");
var productpane = productsp.getPaneById('<%=FirstPane.ClientID%>');
var packagepane = productsp.getPaneById('<%=SearchResultPackage.ClientID%>');
if(chk.checked)
{
if(packagepane.get_collapsed())
{
packagepane.expand();
}
if(!productpane.get_collapsed())
{
productpane.collapse();
}
}
else
{
if(productpane.get_collapsed())
{ productpane.expand(); }
if(!packagepane.get_collapsed())
{ packagepane.collapse(); }
}
this is working fine in IE6 but in Firefox packagepane did not expand and i have checked its whidth it becomes zero.
i have fixed its width then also it is creating problem.
please tell me how can i fix it....