1 2//the window.onload wrapper around these object constructors is just for demo purposes 3//in practise you would put them in an existing load function, or use a scaleable solution: 4//http://www.brothercake.com/site/resources/scripts/domready/ 5//http://www.brothercake.com/site/resources/scripts/onload/ 6window.onload = function() 7{ 8 //initialise the docking boxes manager 9 var manager = new dbxManager('main'); //session ID [/-_a-zA-Z0-9/] 10 11 //create new docking boxes group 12 var sidebar_left = new dbxGroup( 13 'sidebar-left', // container ID [/-_a-zA-Z0-9/] 14 'vertical', // orientation ['vertical'|'horizontal'] 15 '7', // drag threshold ['n' pixels] 16 'no', // restrict drag movement to container axis ['yes'|'no'] 17 '10', // animate re-ordering [frames per transition, or '0' for no effect] 18 'yes', // include open/close toggle buttons ['yes'|'no'] 19 'open', // default state ['open'|'closed'] 20 21 'оÑкÑÑÑÑ', // word for "open", as in "open this box" 22 'закÑÑÑÑ', // word for "close", as in "close this box" 23 'ÐажмиÑе и ÑдеÑживайÑе ÐºÐ½Ð¾Ð¿ÐºÑ Ð¼ÑÑи, ÑÑÐ¾Ð±Ñ Ð¿ÐµÑемеÑÑиÑÑ ÑÑÐ¾Ñ Ð±Ð»Ð¾Ðº вниз или ввеÑÑ ', // sentence for "move this box" by mouse 24 'ÐажмиÑе на ÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ, ÑÑÐ¾Ð±Ñ %toggle% блок', // pattern-match sentence for "(open|close) this box" by mouse 25 'use the arrow keys to move this box', // sentence for "move this box" by keyboard 26 ', or press the enter key to %toggle% it', // pattern-match sentence-fragment for "(open|close) this box" by keyboard 27 '%mytitle% [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts 28 ); 29 30 //create new docking boxes group 31 var sidebar_right = new dbxGroup( 32 'sidebar-right', // container ID [/-_a-zA-Z0-9/] 33 'vertical', // orientation ['vertical'|'horizontal'] 34 '7', // drag threshold ['n' pixels] 35 'no', // restrict drag movement to container axis ['yes'|'no'] 36 '10', // animate re-ordering [frames per transition, or '0' for no effect] 37 'yes', // include open/close toggle buttons ['yes'|'no'] 38 'open', // default state ['open'|'closed'] 39 40 'оÑкÑÑÑÑ', // word for "open", as in "open this box" 41 'закÑÑÑÑ', // word for "close", as in "close this box" 42 'нажмиÑе и ÑдеÑживайÑе ÐºÐ½Ð¾Ð¿ÐºÑ Ð¼ÑÑи, ÑÑÐ¾Ð±Ñ Ð¿ÐµÑемеÑÑиÑÑ ÑÑÐ¾Ñ Ð±Ð»Ð¾Ðº вниз или ввеÑÑ ', // sentence for "move this box" by mouse 43 'ÐажмиÑе на ÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÑ, ÑÑÐ¾Ð±Ñ %toggle% блок', // pattern-match sentence for "(open|close) this box" by mouse 44 'use the arrow keys to move this box', // sentence for "move this box" by keyboard 45 ', or press the enter key to %toggle% it', // pattern-match sentence-fragment for "(open|close) this box" by keyboard 46 '%mytitle% [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts 47 ); 48 49};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.