source: spip-zone/_plugins_/memobox/README.txt @ 117558

Last change on this file since 117558 was 7510, checked in by renato@…, 14 years ago

enhanced documentation

File size: 835 bytes
Line 
1Customization
2
31)in memobox.html
4
5DRAGGABLES_SEL
6Set the CSS style selector to match which are the draggable items
7Ex: var DRAGGABLES_SEL = '.titre>a';
8
9MEMOBOX_CONTAINER
10Set the CSS style selector to match the element you want to append the memobox to
11Ex: var MEMOBOX_CONTAINER = "#navigation";
12
13MEMOBOX_HEADER
14Set the HTML of the memobox header. It must have the id "memobox_heading".
15The heading_text can be modified in the language files (lang/memobox_nn.php).
16Ex: var MEMOBOX_HEADER = '<p id="memobox_heading">+heading_text+</p>';
17
18MEMOBOX_MODE
19Set the way a page can be added to the memobox.
20Can be "link", to do it with a link, or "drag" to do it dragging an item to the memobox.
21After a change in the mode, be sure to delete the SPIP cache or you won't see your change.
22 
232)Define your styles in memobox.css
24
253)Have fun :)
Note: See TracBrowser for help on using the repository browser.