Welcome Guest Search | Active Topics | Sign In | Register

diloag window open in another iFrame Options
Jhon s
Posted: Wednesday, September 5, 2007 7:26:34 AM
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??
eo_support
Posted: Wednesday, September 5, 2007 7:31:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,083
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
Jhon s
Posted: Wednesday, September 5, 2007 7:51:24 AM
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?
eo_support
Posted: Wednesday, September 5, 2007 8:10:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,083


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.