| 402 |
options -> object containing optional parameters: |
options -> object containing optional parameters: |
| 403 |
title: dialog title. if not specified, "Tag editor - (tag)" is used. |
title: dialog title. if not specified, "Tag editor - (tag)" is used. |
| 404 |
stitle: laber for submit button. if not specified, "OK" is used. |
stitle: laber for submit button. if not specified, "OK" is used. |
| 405 |
submit: custom submit handler. called with two parameters (tag, form) |
submit: custom submit handler. called with two parameters (tag, form, options, E) |
| 406 |
validate: custom validator. called with two parameters (tag, form) |
validate: custom validator. called with two parameters (tag, form, options, E) |
| 407 |
effect: jQuery effect ('slideDown' or 'fadeIn') |
effect: jQuery effect ('slideDown' or 'fadeIn') |
| 408 |
|
|
| 409 |
The simplest form, for example: |
The simplest form, for example: |
| 415 |
You might have noticed that fields in image/link dialogs are declared as objects not as strings. That's a |
You might have noticed that fields in image/link dialogs are declared as objects not as strings. That's a |
| 416 |
customized form of declaring attributes. It is ideal to use an object if you want |
customized form of declaring attributes. It is ideal to use an object if you want |
| 417 |
- a field type other than textfield (type: 'select', options: {'left': 'Left', 'right': 'Right'}) |
- a field type other than textfield (type: 'select', options: {'left': 'Left', 'right': 'Right'}) |
| 418 |
textarea and select are the two options other than the default. |
the default type is text and other supported types are select, textarea, hidden |
| 419 |
- a custom label (title: 'Image URL') |
- a custom label (title: 'Image URL') |
| 420 |
- a default value (value: ' ') |
- a default value (value: ' ') |
| 421 |
- some prefix or suffix text or html (prefix: '[ ', suffix: ' ]') |
- some prefix or suffix text or html (prefix: '[ ', suffix: ' ]') |