Child pages
  • Client Design Mode

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are two client design properties selectable and handles.

...

Selectable

...

:By default an element with a name is selectable in client design mode but you can set element to not be selectable.

...

Code Block
javascript
javascript
elements\['element_1'\].putClientProperty(CLIENTDESIGN.SELECTABLE, false);

...

Handles

...

B

Wiki Markup
//by default all are present. ('l' stands for left, 't' stands for top, etc.) elements\['element_1'\].putClientProperty(CLIENTDESIGN.HANDLES, new Array('r', 'l')); // other options are 't', 'b', 'r', 'l', 'bl', 'br', 'tl', 'tr'