How to open a new browser window without toolbar, location, and menu bars from AIR?

I have the following problem in my Flex+AIR application. I need to embed an ActiveX component that has JavaScript API inside my application. I tried to embed it inside <mx:HTML> component but unfortunately, AIR doesnot support plug-ins or ActiveX controls. So I've decided to open it in a new browser window. I tried navigateToURL(...) method but it has two problems - it is opening a new tab in the existing browser window and there is no way for me to configure the new browser window appearance, like removing toolbar, menu bar, location bar, etc. Then I tried to open a new window from JavaScript running inside <mx:HTML> component using window.open(...) API but it doesn't open a new window at all.
Is there any way for me to open a new browser window without toolbar, location bar, etc. (which will run ActiveX control, so it cannot be AIR window) from inside AIR?
Best regards,
Arkady.

Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

Similar Messages

  • How to open a new browser window from a JSP page?

    Hi,
    I am picking up records from the database and displaying each record in a seperate text area field using the JSP code. I should be able to display the content ( available in the text area) in a seperate window if the user clicks on one icon.
    Is it possible to open a new browser window using JSP? If yes, how can I write information on the new browser window?
    Thanks in advance.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • How to open a new browser window from a link on the navigation bar

    Hi,
    I entered a URL in the 'URL Target' field for the Navigation Bar Entry. As expected when the I clicked on the link in the Navigation Bar my browser refreshed with the target URL.
    I want to be able to actually open a new window rather than refresh my current window. The help text says, and I quote ...
    "In the link generated for this icon include the following onClick javascript. Use of the onclick javascript could popup a help page in a new window (see example 1).
    Example 1:
    window.open('US/asfhhome.htm','Help','scrollbars=yes,resizable=yes,width=625,height=350,left=25,top=150');return false
    Set the Icon Target attribute to # if you are using OnClick JavaScript. Set the Image Alt Text attribute to the text the user will see to click on."
    So I created similar Javascript as to the example and placed in the 'OnClick Javascript' field, and placed a '#' in the 'URL Target' field.
    When I run it doesn't work, the '#' is picked up and the Javascript is ignored. Can somebody please tell me what I'm doing wrong.
    Thanks

    I had the same problem. I finally ended up just using the standard popupURL javascript. In the URL Target I have:
    javascript:popupURL('<link>')
    This opens a new window but since it is for popups the menus are missing. You may want to write your own javascript function to open the new window with your own settings.
    Search the forums for popupURL for more ideas.
    javascript:popupURL()
    --Jeff                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • New browser window without Border

    Hi ,
    How I can achieve of on clicking commandlink need to open a new browser window without a border as a child and having the parent window in background as frozen mode..I need to have it looking similar to popup..Im using Jdeveloper 11.1.1.6
    Thanks in advance,
    Kumar
    Edited by: user1153329 on 19-Apr-2013 03:02

    You can create a javascript to window.open having toobar, menubar or statusbar=0. The page content can be customized per need. Call this javascript from a link or button click using javascript:popup_window();
    For example,
    <script language="JavaScript" type="text/javascript">
    function popup_window()
    w = window.open("", "Window", "width=320,height=400,status=0,toolbar=0,menubar=0");
    w.document.write('<html><head><title>Help Window</title>');
    w.document.write('</head><body>');
    w.document.write('<div><font face="Arial" size="2">This is help page.');
    w.document.write('</font></div><p>');
    w.document.write('<div><font face="Arial" size="1"><a href="javascript:window.close();">Close This Window</a></font></div><p>');
    w.document.write('</body></html>');
    </script>Ittichai

  • Opening new HTML window without toolbars and set size.

    Hi, I am researching the possibilities for opening a new HTML
    window without toolbars and at a certain size. I have found a bunch
    of tutorials and even this guide here at adobe:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14192
    BUT
    I work in Flash 8 and I use Dreamweaver 8.2 (with all the
    latest updates). As you know Dreamweaver uses Java Script to
    implement Flash into a HTML page. By generating a folder called
    Scripts and the file AC_RunActiveContent.js
    So I tri the methods described in the above technote. I even
    found a guide at kirupa...and at flashkit. I even downloaded an
    example file from Flashkit. But any implementation of any of the
    methods above in a Flash 8 file implemented with DW does NOT work.
    I am not a hardcore programmer. I am more the kind of guy who
    finds code that works and moulds it to my purpose. Copy and paste
    programming if you may. So its not so easy for me to see why it
    wont work and where the problem is. But I do have a suspicion
    towards the javascript flash implementation that Dreamweaver does.
    So if anyone have guide or tips to how I can use Flash 8 and
    DW 8.2 and get flash to open a new HTML window with a certain size
    and without scroll or toolbars..that would be GREAT!!
    Thanks in advance!
    AKIRA

    AKIRA,
    The TechNotes are from the Cold Fusion site at Adobe. I am
    not certain, but I think that you need to be using Cold Fusion on
    your websites server to be able to use the functions to which you
    refer. Again, I am not certain that I am right here, but it could
    be a place to start research into the problem.
    -john

  • Open new browser window without bookmark

    when i open a new browser window (from a bookmark or using cnt N) it opens with the list of my bookmarks along the left side of the screen forcing me to x out of the bookmark list so i can have a full browser window page.
    how can i get new pages to open without the list of bookmarks on the left side of the screen?
    thanks,
    todd

    You can create a javascript to window.open having toobar, menubar or statusbar=0. The page content can be customized per need. Call this javascript from a link or button click using javascript:popup_window();
    For example,
    <script language="JavaScript" type="text/javascript">
    function popup_window()
    w = window.open("", "Window", "width=320,height=400,status=0,toolbar=0,menubar=0");
    w.document.write('<html><head><title>Help Window</title>');
    w.document.write('</head><body>');
    w.document.write('<div><font face="Arial" size="2">This is help page.');
    w.document.write('</font></div><p>');
    w.document.write('<div><font face="Arial" size="1"><a href="javascript:window.close();">Close This Window</a></font></div><p>');
    w.document.write('</body></html>');
    </script>Ittichai

  • How to force external links to open in new browser window/tab?

    Greetings. I'm here because searching elsewhere kept coming up with references to javascript. I've created an interactive PDF with both internal and external links. It works just fine when viewed in either Acrobat or Reader. However, it is being downloaded to users' browsers and when they access the external URLs, the new sites replace the existing page in the same window.
    Is there a simple way for me to include an action in the PDF prior to distribution that will force it to open external URLs in a new browser window or tab?
    And for the record, I barely know how to spell Javascript, much less how to write or implement it. So if there is a simple solution, I hope you can also help walk me through the steps to implement it.
    Thanks a ton.

    There are two issues here:
    - How to do it using JS
    - How to do it in a non-Adobe browser plugin
    The first is pretty straight forward. You use a code like this, replacing the dummy URL with your own:
    app.launchURL("http://www.example.com", true);
    The second issue is more problematic, and in fact there isn't really a solution to it. If the plugin used supports this method then it will work, if not, then you're out of luck. Unfortunately, outside of the Adobe software I don't think that any other plugin supports it.

  • How can I open a new browser window!!!  Very Challenging!!!

    I have a form (name=MAIN) with a submit button (name=Button A). Button A opens a new browser window (name=SEARCH), via an HTML form target tag (<FORM TARGET=A>). Window SEARCH has multiple submit buttons (10-15). Each button has a different action which is handled by a servlet (form name and button name are passed to a servlet as a hidden field in the form to determine the action), which is setup to be an action handler. When a button in the SEARCH window is clicked the results are retrieved from an Oracle database and should be displayed in the text fields in window MAIN.
    For example, some results may be displayed in window SEARCH (_self) and and other results may be required to be sent to window MAIN depending on the button clicked.
    How can I setup window SEARCH so each button can have a different target window (some may be window MAIN or other windows)? Using a form tag for each button doesn't give desirable results. Is there a way to do this with JSP or some form of Java code?
    A form tag can only have one target. Basically I have one form with multiple submit buttons. How can I get it to send each submit buttons results to a specific window?
    Thanks.

    <!-- try this -->
    <script language="JavaScript1.2">
    function mysubmit(mytarget){
    document.myform.target=mytarget;
    document.myform.submit();
    function validation(myform){
    //validation stuff
    return [true | false];
    </script>
    <form target='none' name='myform' action='myaction.jsp' method='post' [onsubmit='return validation(this)']>
    <input type=button name='submit1' value='submit1' onclick='mysubmit("target1")'>
    <input type=button name='submit2' value='submit2' onclick='mysubmit("target2")'>
    <input type=button name='submit3' value='submit3' onclick='mysubmit("target3")'>
    <input type=button name='submit4' value='submit4' onclick='mysubmit("target4")'>
    </form>

  • Any way to open new browser window without using image maps?

    Is there any way to open new browser window without using image maps? My code works fine in Firefox, but not in IE. There are 2 problems in IE: 1st is that the thumbnail images move up within their own borders & 2nd that when you click on an image it does open up a new browser window, but also redirects to the index page (in this case it's just a placeholder index page - the new one I've called index_new.html for the time being).
    Here is the link:
    http://www.susieharperdesigns.com/gallery_beads.html
    Any help is greatly appreciated.

    Your missing a value on the HREF.  In your code you have this:
    <area shape="rect" coords="-24,-9,106,144" href=" " onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
    </map></div>
    and it should be this:
    <area shape="rect" coords="-24,-9,106,144" href="javascript:void()" onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
    </map></div>
    If you fix the code on all your beads, it should work.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • How do I set the desired search enging when I open a new browsing window?

    When I open a new browser window, I used to get the Bing search engine option but now only the Yahoo search engin is shown. How do I reset the system to show Bing when opening a new browser window? thanks.

    I'm going to go out on a limb and guess that you've got a custom timecode field somewhere in your production and/or asset metadata group(s), right? And I'm going to further guess that this timecode field has dashes in it like this --:--:--:--, right? If so, try this: Click the arrow next to the timecode field and adjust the timecode so that it has a number (it doesn't matter what the number is as long it's not dashes - "00:00:00:00" is fine). Then Save this asset, close it and then reopen it and see if the beeping madness has vanished. Then, to make this change permanent for all of your new assets, make sure to edit the default value of any custom timecode fields to put zeros (or some other numeric default value) into them when a new asset is generated. If the asset still beeps when you open it, check the other metadata groups in your set to see if there isn't another empty timecode field lurking in the shadows.
    Jason

  • How can I open a new browser window from UIX?

    I need to open a new browser window from an event handler. How that can be done? HELP!
    Thanks!
    Martin Patrici

    HTML doesn't really let you do this on the server side; the client is in charge
    of creating new windows, not the server.
    If you know that clicking a certain link/button, etc. will always raise a new window,
    then you should use Javascript or "targetFrame" accordingly.
    If the decision will only be made on the server side, then you could reload the current
    window, only this time use an "onLoad" on the <body> to raise a window.

  • Open new browser window without buttons, menus or URl-field

    Hi All
    How do you make an APEX-link open a new browser window with no toolbar?
    Brgds
    Helge

    You can create a javascript to window.open having toobar, menubar or statusbar=0. The page content can be customized per need. Call this javascript from a link or button click using javascript:popup_window();
    For example,
    <script language="JavaScript" type="text/javascript">
    function popup_window()
    w = window.open("", "Window", "width=320,height=400,status=0,toolbar=0,menubar=0");
    w.document.write('<html><head><title>Help Window</title>');
    w.document.write('</head><body>');
    w.document.write('<div><font face="Arial" size="2">This is help page.');
    w.document.write('</font></div><p>');
    w.document.write('<div><font face="Arial" size="1"><a href="javascript:window.close();">Close This Window</a></font></div><p>');
    w.document.write('</body></html>');
    </script>Ittichai

  • How can I save my customised toolbar so it is there every time I open a new browser window

    I have created a customised toolbar with all the icons I want but have to do it again every time I open a new browser window.

    i found i had almost exactly the same problem as you. one evening my itunes just wouldn't start up, it told me that 'itunes is unable to open because some of it's required files are missing, please re-install itunes'. now, i personally know a lot on the subject of computers and how they opperate, i had the built the computer that i encoutered the problem on myself. as soon as i came across the problem, i immediatly thought that i would be able to simply uninstall itunes and quicktime, and then re-install.
    after doing this, nothing changed, i went straight to 'add or remove programs' in windows, and tried to remove itunes from there. it wouldn't uninstall. i racked my brains over the problem, until i found this article, which provided a great deal of help. for anyone who later has this problem, go and download this freeware from microsoft: http://support.microsoft.com/default.aspx?scid=kb;en-us;290301 this program will immediatly remove any unwanted programs with ease, whether they are running or not. after using this program to uninstall itunes, re-install, and your problem should be solved.
    thanks. Alex Dove
    Custom built pc   Windows XP  
    Custom built pc   Windows XP  

  • How do i open a new browser window(IE or Netscape)?

    I need to open a new browser window to show a web page returned by a PHP aplication.
    If i use an editorpane the returned page is shown unformatted.
    PLEASE HELP!
    Rui

    or to open a window using a hyperlink, u can try this:
    Link Name
    This will open a window and send then send u to the page you want for processing.

  • How do I open a new browser window from Flash

    I wish to open a new browser window from Flash and when the new window closes to return to the location from whence I started.
    ThomasChen

    The command to open a new window would be the "_blank" part of a command to link to a web page in the code below.
    navigateToURL(new URLRequest("http://www.anothersite.com", "_blank"));
    As far as the new window closing and getting back to where you were in the original window, I don't understand where that original window might have gone to... You should be wherever you last left it.

Maybe you are looking for