|
From: | skwashd |
Subject: | [Phpgroupware-cvs] news_admin/js/base toggle.js,1.1 |
Date: | Tue, 24 May 2005 16:32:00 +0200 |
Update of news_admin/js/base Added Files: Branch: MAIN toggle.js Log Message: I am working on a much better version of news_admin, this is just a taste of what is coming. Adding FCKeditor, which has the following issues: * Images and files support FCKd * Spellcheck FCKing up Didn't include non php code or samples other unneeded crap ==================================================== Index: toggle.js /** * phpGroupWare Date Toggler * * @internal Taken from news_admin * @author Michael Totschnig? */ function toggle() { myspan = document.getElementById('visible') if (document.getElementById('from').value == '0.5') { myspan.style.display = 'inline'; } else { myspan.style.display = 'none'; } myspan = document.getElementById('end'); if (document.getElementById('until').value == '0.5') { myspan.style.display = 'inline'; } else { myspan.style.display = 'none'; } }
[Prev in Thread] | Current Thread | [Next in Thread] |