Loading ...
Sorry, an error occurred while loading the content.

yui editor not working

Expand Messages
  • ashwin
    Hi Dav Iam rendering multiple yui editors on modal dialog. Using version 2.5.2 yui library.
    Message 1 of 1 , Dec 5, 2008
    • 0 Attachment
      Hi Dav

      Iam rendering multiple yui editors on modal dialog. Using version
      2.5.2 yui library. <script type="text/javascript"
      src="../yui/build/editor/editor-beta-min.js"></script>

      This modal dialog opens up repeatedly through out the session. The
      code used is

      test = new YAHOO.widget.Editor('test', {
      width: '500px',
      height: '100px'
      });

      test1 = new YAHOO.widget.Editor('test1', {
      width: '500px',
      height: '100px'
      });

      editor = new YAHOO.widget.Editor('test2', {
      width: '500px',
      height: '100px'
      });

      on show event of the dialog
      test.show();
      test1.show();
      test2.show();

      on hide event of the dialog
      test.hide();
      test.destroy();
      test1.hide();
      test1.destroy();
      test2.hide();
      test2.destroy();

      It works fine every time when used with firefox, but not with IE7.
      It takes lot of time to render in IE7. One of the dependency used is
      that of the menu, which had similar problems previously, so i had to
      switch to other available drop down menus.

      Even the menus for background color/text color are not working in the
      editor.

      Please let me know the probable solution.

      Thanks
      ashwin
    Your message has been successfully submitted and would be delivered to recipients shortly.