Results 1 to 2 of 2

Thread: DHTML Window Widget - onClick event ?

  1. #1
    Join Date
    May 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML Window Widget - onClick event ?

    1) Script Title:
    DHTML Window widget

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/

    3) Describe problem:

    Hello everybody. To begin, please don't blame me for my English : i'm French... But I hope you will understand what my problem is...

    I use DHTML Window widget. It is very useful, but I have some troubles with it : when I try to open a new DHTML Window widget with a onClick button action, the new window doesn't show what it has to, whereas when I open the window at the loading of the main page, it works perfectly...

    This is how I open my window :

    Code:
    dhtmlwindow.open('test', 'div', 'mydiv', 'Le test', 'width=800px,height=400px,resize=0,scrolling=0,center=0');
    This new window has to show TinyMCE text editor. "mydiv" contains the <textarea> for TinyMCE. I think it is the key of my problem, but I am not sure...


    Thank you to help me !

    PS : Congratulations for your website and every scripts...

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    TinyMCE contains JavaScript code, so it won't transfer over to the DHTML window using the "div" mode. You can switch to the "iframe" mode, and that should work. The issue is similar to this thread here.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •