diy.js 459 B

123456789101112131415
  1. /**
  2. *
  3. * @version $Id: diy.js 1 22:28 2010年7月20日Z tianya $
  4. * @package DedeCMS.Administrator
  5. * @copyright Copyright (c) 2007 - 2010, DesDev, Inc.
  6. * @license http://help.dedecms.com/usersguide/license.html
  7. * @link http://www.dedecms.com
  8. */
  9. function showHide2(objname){
  10. var obj = $Obj(objname);
  11. if(obj.style.display != 'block'){ obj.style.display = 'block' }
  12. else{ obj.style.display = 'none'; }
  13. }