View Full Version : DHTML Window Widget - onClick event ?

05-02-2007, 10:01 AM
1) Script Title:
DHTML Window widget

2) Script URL (on DD):

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 :

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...

05-03-2007, 05:37 AM
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 (http://www.dynamicdrive.com/forums/showthread.php?t=20334) here.