Changeset 7510 in spip-zone


Ignore:
Timestamp:
Nov 21, 2006, 6:23:13 PM (14 years ago)
Author:
renato@…
Message:

enhanced documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_test_/memobox/README.txt

    r4503 r7510  
    11Customization
    22
    3 1)in memobox.js
     31)in memobox.html
    44
    55DRAGGABLES_SEL
    66Set the CSS style selector to match which are the draggable items
    7 Ex: var DRAGGABLES_SEL = '.titre a';
     7Ex: var DRAGGABLES_SEL = '.titre>a';
    88
    99MEMOBOX_CONTAINER
     
    1212
    1313MEMOBOX_HEADER
    14 Set the HTML of the memobox header. It must have the id "memobox_heading"
    15 Ex: var MEMOBOX_HEADER = '<p id="memobox_heading">Drag & drop titles here to store them</p>';
     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.
    1622 
    17232)Define your styles in memobox.css
Note: See TracChangeset for help on using the changeset viewer.