on 11-18-2008 8:25 AM
Hi Friends,
I am working on webdynpro application wherein i click a treeitemtype , it opens an iframe and
displays a url in it.My query is that ,when i double click the iframe it should open a biiger version of the url.
Can anyone heelp me on this .Please, its ASAP.
As per my knowlege, there is no double click event on Iframe. What you can do is, you can increase the width and height of your Ifram to make it large.
secondly there is another option, if you want to open the url in seperate window..with all minimize and max buttons. Pls refer to below code.
data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component type ref to if_wd_component.
data lo_window type ref to if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW
EXPORTING
URL = 'http://www.sap.com/'
RECEIVING
WINDOW = lo_window.
lo_window->open( ).
Hope it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.