Opened 16 years ago

Closed 14 years ago

#258 closed defect (fixed)

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:


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 (1)

simple_example.html (6.4 KB) - added by mokhet 16 years ago.
simple example

Download all attachments as: .zip

Change History (5)

comment:1 Changed 16 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 16 years ago by mokhet

simple example

comment:2 Changed 16 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.

comment:3 Changed 15 years ago by gogo

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

comment:4 Changed 14 years ago by mokhet

  • Resolution set to fixed
  • Status changed from new to closed

added the example in changeset:534

Note: See TracTickets for help on using tickets.