PHP Cross Reference of WordPress Subversion HEAD |
| [ Index ] [ Classes ] [ Functions ] [ Variables ] [ Constants ] |
[Summary view] [Print] [Text view]
1 addLoadEvent( function() {var manager = new dbxManager( dbxL10n.manager );} ); 2 3 addLoadEvent( function() 4 { 5 //create new docking boxes group 6 var meta = new dbxGroup( 7 'grabit', // container ID [/-_a-zA-Z0-9/] 8 'vertical', // orientation ['vertical'|'horizontal'] 9 '10', // drag threshold ['n' pixels] 10 'no', // restrict drag movement to container axis ['yes'|'no'] 11 '10', // animate re-ordering [frames per transition, or '0' for no effect] 12 'yes', // include open/close toggle buttons ['yes'|'no'] 13 'closed', // default state ['open'|'closed'] 14 dbxL10n.open, // word for "open", as in "open this box" 15 dbxL10n.close, // word for "close", as in "close this box" 16 dbxL10n.moveMouse, // sentence for "move this box" by mouse 17 dbxL10n.toggleMouse, // pattern-match sentence for "(open|close) this box" by mouse 18 dbxL10n.moveKey, // sentence for "move this box" by keyboard 19 dbxL10n.toggleKey, // pattern-match sentence-fragment for "(open|close) this box" by keyboard 20 '%mytitle% [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts 21 ); 22 23 // Boxes are closed by default. Open the Category box if the cookie isn't already set. 24 var catdiv = document.getElementById('categorydiv'); 25 if ( catdiv ) { 26 var button = catdiv.getElementsByTagName('A')[0]; 27 if ( dbx.cookiestate == null && /dbx\-toggle\-closed/.test(button.className) ) 28 meta.toggleBoxState(button, true); 29 } 30 31 var advanced = new dbxGroup( 32 'advancedstuff', 33 'vertical', 34 '10', 35 'yes', // restrict drag movement to container axis ['yes'|'no'] 36 '10', 37 'yes', 38 'closed', 39 dbxL10n.open, 40 dbxL10n.close, 41 dbxL10n.moveMouse, 42 dbxL10n.toggleMouse, 43 dbxL10n.moveKey, 44 dbxL10n.toggleKey, 45 '%mytitle% [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts 46 ); 47 });
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated Thu Dec 6 06:47:08 2007 for RedAlt XRefs | Cross-referenced by PHPXref 0.6 and RedAlt |