Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-02-10 13:08:28

Loren
New member
Registered: 2006-02-10
Posts: 6

Will not work in a framed page with i.e..

I have the editor posted here and it displays in i.e.

http://www.wlmark.com/htmlarea-frames/editor/editor.php

but when I put it in a frame it doesnt play nicely with internet explorer 6.

http://www.wlmark.com/htmlarea-frames/editor/add.php

(I dont get any errors in my logs.)

And when I go to the online demo and the downloaded demo to select features I see the editor in frames just fine.

Does anyone have any clues or something in my settings that will help.

Frustrated in Florida

TIA

Loren

Offline

#2 2006-02-11 10:25:37

Loren
New member
Registered: 2006-02-10
Posts: 6

Re: Will not work in a framed page with i.e..

I have more information as to what the error is.

In full_example.js at the very beginning is

  if(window.parent && window.parent != window)
  {
    var f = window.parent.menu.document.forms[0];

and the error is

"window.parent.menu.document" is null or not an object

The script debugger points to var f

I have a feeling it is "parent" that is killing the script but have no clue when it comes to JavaScript.

Thank you
Loren

Offline

#3 2006-02-11 17:08:44

Loren
New member
Registered: 2006-02-10
Posts: 6

Re: Will not work in a framed page with i.e..

I found the problem.

in
      xinha_editors = xinha_editors ? xinha_editors :
      [
        'TextArea1'

      ];

I had a comma after  'TextArea1',

I over looked it when I deleted the other text area.

I worked in firefox and even in frames and only i.e. had the frame problem so I was searching in the wrong places.

This project rocks

Offline

Board footer

Powered by FluxBB