I don't think this is the correct place for posting DD Scripts related problems.
The toggling between the contract all | expand all links can be done using the following steps
1. Insert the following javascript function inside the head section
Code:
function visible(p)
{
if(p)
{
document.getElementById('expand').style.visibility = "hidden";
document.getElementById('contract').style.visibility = "visible";
}
else
{
document.getElementById('expand').style.visibility = "visible";
document.getElementById('contract').style.visibility = "hidden";
}
}
2. Edit the contract all | expand all link part like the following
<!--Optional Expand/ Contact All links. Remove if desired-->
<div><a id="contract" href="javascript:sweeptoggle('contract')" onClick="visible(0);">Contract All</a> | <a id="expand" href="javascript:sweeptoggle('expand');" onClick="visible(1);">Expand All</a></div>
This will perform the toggling upto a point.
Bookmarks