ep.openWindow()
Categories: Utilities
ep.openWindow( url )
Plugin: ep.openWindow
Description: Open url in a dialog with an embeded iframe.
-
ep.openWindow( url )
version added: 6.14.0url A url to open in a dialog.
-
ep.openWindow( url, [ windowName ], [ features ] )
version added: 6.11.0 version removed: 6.14.0url A url to open in a window.
windowName A name for the window.
features A string of features for the window or a name of a predefined features.
The ep.openWindow()
method open a url inside a dialog with an embeded iframe. The behaviour of this function was changed iin 6.14.0.
In earlier version the url was opened in a seperate window. In future this function will get more params and features to remove the old
epages function openWindow.
Now a dialog with the width and height of nearly 99% of the visible area is opened. Inside this dialog the url is opened in an iframe. If the Url is on the same domain the dialog title is filed with the title of the opened document. This is not posibile with urls from outside due to the same-origin-policy.
-
Open dialog.
Code:
ep.openWindow( '?ViewAction=MyViewAction'); ep.openWindow( 'http://www.epages.de' );