--- zogiLib/js/dllib.js 2005/11/08 18:10:10 1.7 +++ zogiLib/js/dllib.js 2006/07/14 12:42:05 1.8 @@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place - Suit Authors: Christian Luginbuehl, 01.05.2003 (first version) DW 24.03.2004 (Changed for digiLib in Zope) - Robert Casties, 8.11.2005 + Robert Casties, 14.7.2006 ! Requires baselib.js ! @@ -611,4 +611,10 @@ function showOptions(show) { // show or hide option div var elem = getElement("dloptions"); showElement(elem, show); -} \ No newline at end of file +} + +function toggleOptions() { + // toggle option div + var elem = getElement("dloptions"); + showOptions(! isElementVisible(elem)); +}