|
Rank: Advanced Member Groups: Member
Joined: 5/31/2007 Posts: 36
|
is it possible to show a dilalog window in another iframe? also is it possible to show a dialog in the center of a screen regardless of the iframe position??
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, You can do that but the dialog should not be sitting inside the iframe. Inside the iframe you would do:
Code: HTML/ASPX
<a href="parent.show_dialog()">show dialog</a>
Where show_dialog is a javascript inside your main window that actually displays the dialog. For example:
Code: JavaScript
function show_dialog()
{
eo_GetObject('Dialog1').show();
}
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 5/31/2007 Posts: 36
|
ok, i implmeneting in this way, but i don't see a way to change the content html with the javascript api?? is there any way to do this?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
|
|