Ticket #258 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

add a simple example to examples

Reported by: edward.borland@… Owned by: akaEdge
Priority: normal Milestone: Version 1.0
Component: Documentation Version: trunk
Severity: normal Keywords:
Cc:

Description

Uncommenting and using the following lines in the full_example-body.html

xinha_editors.myTextArea.config.width = 640;

xinha_editors.myTextArea.config.height = 480;

Produces the following error in MSIE

Line 20 Char 1 'xinha_editors.myTextArea.config' is null or not an object Code 0

Attachments

simple_example.html (6.4 kB) - added by mokhet 8 years ago.
simple example

Change History

Changed 8 years ago by niko

either you remove <script src="full_example.js"></script> from the bottom of the file or you write

xinha_editors.myTextArea0.config.width = 640;

the example-files are a bit hard to understand imho.

Changed 8 years ago by mokhet

simple example

Changed 8 years ago by mokhet

perhaps if we add this simple_example.html in the repository we could close this ticket ? it is fully derived from full_example-body.html but doesnt use the dynamic javascript we need for full_example.html

Would allow us to close this ticket, and i think this example is easier to understand.

Changed 8 years ago by gogo

  • summary changed from specifying width and height of editor throws error on load to add a simple example to examples
  • version set to trunk
  • milestone set to Version 1.0

Changed 7 years ago by mokhet

  • status changed from new to closed
  • resolution set to fixed

added the example in changeset:534

Note: See TracTickets for help on using tickets.