[Project_owners] Persistence

Neil neil at parkwaycc.co.uk
Sun Dec 21 22:00:09 EST 2003


Laeb (hotmail) wrote:

>The code below toggles the bookmarks toolbar but the state of this toolbar is not made persistent (comes back to original value at startup). Does anyone knows how to make it persistent ?
>
>  tb=document.getElementById("PersonalToolbar");
>
>  if(tb.hasAttribute("collapsed")) {
>   tb.removeAttribute("collapsed");
>   }
>  else {
>   tb.setAttribute("collapsed",true);
>  }
>   document.persist(tb.id, 'collasped');
>  
>
Apart from the typo, why do you want to hide the toolbar in a way that 
stops the View Show/Hide menu from working?



More information about the Project_owners mailing list