Hello,
I'd like to create sections that are collapsible via clicking on a
graphic next to (or above) the section (e.g. collapsible cells of a table)
I've given both the graphic and the section an ID property and I have
written this:
function hideShow (name1)
{
if (document.all(name1).style.display == "none")
document.all(name1).style.display = "inline"
else
document.all(name1).style.display = "none"
}
which seems to work, but how can I pass in the image ID and have the
image swapped each time I collapse/expand the section?
any help appreciated,
BK.