It doesn't preserve the collapses across updates right now ... That
will take a little more doing to fire all the appropriate events around.
On Oct 6, 2007, at 2:41 PM, Thomas wrote:
> Mike,
>
> that is totally awesome. I could use it just like that. It's much
> better than the existing outline view. I second the vote to provide
> you with wine and song.
>
> Now how about collapsing the outline? You could have a [+] or [-]
> in the top part of each block, with a javascript attached and a
> unique ID for the payload of each block - see below.
>
> Regards
> Thomas
>
> function toggleElementVisibility(id) {
> if ("visible"==document.getElementById(id).style.visibility) {
> hideElement(id);
> } else {
> showSingleElement(id);
> }
> }
>
> function hideElement(id) {
> document.getElementById( id).style.visibility = "hidden";
> document.getElementById( id).style.display = "none";
> }
>
> function showSingleElement(id) {
> document.getElementById(id).style.visibility = "visible";
> document.getElementById(id).style.display = "block";
> }
>
>
> On 07/10/2007, at 3:14 AM, Mike Schrag wrote:
>
>> .... or as the new template editor outline:
>>
>> <Picture 3.png>
>
This archive was generated by hypermail 2.0.0 : Sat Oct 06 2007 - 15:25:04 EDT