Open new window with specified width

Hi, with Dreamweaver, in the Behaviors Panel, we can open an
HTML file in a new window with specified heigth and width. Is there
a script that allows that kind of behavior?
thanks again!

You can use the very same Javascript function that
Dreamweaver writes, and then call that function from Flash using
the ExternalInterface.call method. Look at online help for
ExternalInterface.call. There is a good example shown there.

Similar Messages

  • How to open new window with required size when clicking on image in a table

    Hi,
    There is an image column in advanced table. i want to open new window with required parameters(size, toolbar, status bar,etc..) and with that transaction context.
    can any one help plzzzzzzzz?
    Thanks
    Raju

    You can also use OAF js function to open modal pop up:
    openWindow(self, '<url>','longTipWin', {width:900, height:400}, true); return false;
    --Mukul                                                                                                                                                                                                                                                                                                                                   

  • I am receiving a lot of pop-up ads on website pages. It has only recently started happening. They open new windows with ads for online gambling, online dating and other things. They are annoying and I want them shut off. Please help me

    I have recently started seeing millions of pop-up ads on website pages. It is not something that normally happens. They open new windows with ads for online gambling, online dating among other things. I am growing sick and tired of these ads, and have tried multiple things. I have uninstalled and reinstalled software, I have blocked pop-up ads and unenabled Java script. I have tried everything I could find, but nothing has worked. I have even downloaded AdBlock and Clean Genius. Nothing has even remotely changed this annoying trait. I hope this can be a quick fix I can perform and not something that will have to be done by a tech-hand. Please, if you know anything about this issue, let me know how to fix it.
    Thanks.

    Unfortunately, you have installed malware by clicking on a pop up ad.
    Removal instructions here >>  The Safe Mac » Adware Removal Guide
    Uninstall CleanGenius >  Mac App uninstaller: How to uninstall the Macintosh applications with CleanGenius uninstaller on Mac OS X?
    Third party maintenance utilities are not necessary on a Mac and can actually do more harm than good and cannot remove malware > Mac App uninstaller: How to uninstall the Macintosh applications with CleanGenius uninstaller on Mac OS X?

  • I seemed to have picked up malware that opens new windows with advertising.

    How do I stop malware which opens new windows with advertising links,  I use a mac mini with Yosemite OS X 10.10

    Seee:
    Adwaremedic: Removes all known adware from your Mac

  • What is the correct way to open new window with launchDialog & returnDialog

    Hi,
    JDev : 11.1.1.1.2.0
    My current page url is http://127.0.0.1:7101/ThruputApplication/faces/Test.jspx?_afrLoop=21785535204821&_afrWindowMode=0&_adf.ctrl-state=d1x4f8z6p_9 and
    From this page, I trying to open new browser window using command button's action method with below code
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ViewHandler viewHandler =
    facesContext.getApplication().getViewHandler();
    StringBuilder strBuilder = new StringBuilder();
    UIViewRoot dialog =
    viewHandler.createView(facesContext, strBuilder.append("/reports/LPLReport.jsp?").append(sURL).toString());
    Map properties = new HashMap();
    properties.put("width", Integer.valueOf(500));
    properties.put("height", Integer.valueOf(300));
    AdfFacesContext afConetxt = AdfFacesContext.getCurrentInstance();
    afConetxt.launchDialog(dialog, properties, null, true, null);
    New browser window is getting open successfully but after opeing this new window if I do any operation such like selecting item from selectOneChoice or checkbox selection from the screen from which I have launce new browser window then is giving me below message.
    Are you sure you want to navigate away from this page ?
    There are one or more dependent dialogs open. Navigation from this page will invalidate any open dialogs.
    Press OK to continue, or Cancel to stay on the current page.
    I have also tried AdfFacesContext.getCurrentInstance().returnFromDialog(null, null); to return dialog but its giving me below error:
    <DialogServiceImpl><returnFromDialog> No 'DialogUsedRK' key available for returnFromDialog to do the right thing!
    <Reports><generateReports> Exception
    java.lang.IllegalStateException: popView(): No view has been pushed.
         at org.apache.myfaces.trinidadinternal.context.DialogServiceImpl.popView(DialogServiceImpl.java:88)
         at org.apache.myfaces.trinidadinternal.context.DialogServiceImpl.returnFromDialog(DialogServiceImpl.java:182)
         at org.apache.myfaces.trinidadinternal.context.RequestContextImpl.returnFromDialog(RequestContextImpl.java:132)
         at oracle.adfinternal.view.faces.context.AdfFacesContextImpl.returnFromDialog(AdfFacesContextImpl.java:318)
         at com.enbridge.forecasting.tps.backing.reports.Reports.generateMsgRptGenerated(Reports.java:2602)
         at com.enbridge.forecasting.tps.backing.reports.Reports.generateReports(Reports.java:1212)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Please give me the solution so that I can stay on the screen and can continue with that screen after opening new browser window.
    Currently after opening new window as mentioned above, I can't do anything. If I press ok button then it will give me login page and if I press cancel button then my screen component's state become invalid.
    Regards,
    devang

    Thanks Frank,
    We have resolved the issue. Cookies max age was set as current browser seeion in websphere.
    After changing it as some max seconds, it is working fine.
    Mohanraj M

  • Can not open new windows with the update

    i used to be able to open multiple windows with different url and i now i can not...

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • I use tabbed browsing. Firefox randomly opens new windows with advertising. Pop-ups are disabled. How to fix?

    I use Firefox with Windows 7. I use tabbed browsing, and the tabs show at the top of the page. At the bottom of the page, where the Firefox logo is displayed, Firefox will randomly open a second window with advertising. This is a Firefox issue because it says Firefox at the top of the new page. Pop-ups are disabled via Tools>Options>Content. Pop-ups also are disabled on the Verizon Security Suite.

    For possible causes see http://kb.mozillazine.org/Popups_not_blocked

  • Opening new window with dispatcher

    I'm new to servlet. How do you direct an URL to a new browser window? I'm currently using dispatcher.forward() and I don't know how to forward to a new window.
    Please help.

    I just write a simple example for your reference. Hope this helps!
    t2.jsp
    ===============================================================
    <html><body>
    <form method="POST" action="t3.jsp">
    <p>key<input type="text" name="key" size="20"></p>
    <p><input type="submit" value="submit" name="B1"><input type="reset" value="Cancel" name="B2"></p>
    </form></body></html>
    t3.jsp
    ===============================================================
    <!-- import Java Components -->
    <%@ page import="java.lang.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.jsp.*" %>
    <%@ page import="javax.servlet.http.*" %>
    <% String key = request.getParameter("key"); %>
    <% if (key.equals("1")) { %>
    <SCRIPT Language="JavaScript">
    window.open('MyTest')
    </SCRIPT>
    <% } else {
    RequestDispatcher requestdispatcher = getServletContext().getRequestDispatcher("
    /MyTest");
    requestdispatcher.forward(request, response);
    } %>

  • Opening new window with hyperlinks?

    I know this has been asked in previous posts so at the risk of soundind redundant, has anyone actually been successful at achieving this?
    I am curious what the HTML code would look like so please send any links so that I may view the source...
    thanks.
    Powerbook G4   Mac OS X (10.4.4)  

    Did you try doing a search in the forum on "new window"?

  • Paging problem while opening new window with getURL from presentation fullscreen exe

    Can any one please help me out from this,
    I have the flash presentation exe with some pdf links when I
    click on the pdf link it will come at the top for a first time and
    send it back to my exe presentation. after every click on the pdf
    link each browser open behind my presentation the user can't
    recognized the page is open or not I want the page should open
    above my fullscreen presentation at every time i click on the pdf
    or any other link please tell me how i can solve this
    I am using Flash8 Professional version. please help me out.

    Hi,
    You can do this by using our tools.
    Jugglor
    http://www.jugglor.com
    JStart
    http://jstart.flashjester.com
    read this
    http://www.flashjester.com/index.php?section=faq&cPath=14_56_26#268
    Please download the example file to see if working
    then read
    http://www.flashjester.com/index.php?section=faq&cPath=14_56_26#296
    That shoul help you get started.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • IE 11 open new tab opens new window, clicking open new tab opens black page in same tab

    Hi I have a problem with IE11 on Windows 8.1 Desktop mode which is driving me crazy.
    When i click on the open new tab button it will open in the same tab in the same window and you cant go to any website and the website on where on's address is still in the address bar.
    Right click a link and select open new tab most of the time opens new window with long pause.
    I have tried everything to fix this even re installing windows, but the problem persists after re install as i think its attaching itself to my Microsoft account.
    I have disabled all add-ons run virus and walware scans reset IE to defaults removed and re-installed IE all to no avail!
    Any help would be much appreciated.

     tried everything
    http://support.microsoft.com/en-us/kb/2574731
    (BING search for
        blank tab regsrv32 ieproxy site:support.microsoft.com
    Robert Aldwinckle

  • Opening new window on button click from pdf without loosing session

    Hi,
    In my Java web applicaion on click of a link, we are opening a new window in which we are displaying a pdf. There are 5 buttons on this pdf.
    On clicking of this button again we are opening a application link in new window. But in this window we are not gettting our session, which is there in first two window.
    For opening new window from pdf button click we are using
    var dynamicUrl3 = myappurl;
    app.launchURL(dynamicUrl, true); 
    How can i open new window with the same sesion from the pdf button.
    Please help for the same.
    Thanks,
    Abhijit Mohite.

    Yes, with target="_blank" in a link or a form.Thanks for ur valuable suggestion. I changed the button to link.
    Its working fine now without JavaScript.
    Now i got another requirement. When user select some items and press a button in the new popup window, the window must close on button click and the parent window must refresh. This must also be done without using JavaScript.
    Is this possible? Please give me an idea to do this.
    Thanks.

  • My firefox does not open new window and pop-up

    i can't open new window with firefox. my versian is up-date
    please help

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Opening OA page in new window with parameters

    Hi all,
    Hi need to open a new page in a new window with some parameters to be passed to that page.
    Here is the code i have written.
    But i am not sure how to pass parameter in java script string
    String userid = new Integer(pageContext.getUserId()).toString();
    OAButtonBean go = (OAButtonBean) webBean.findChildRecursive("go");
    String url1 = "javascript:openWindow(top,'OA.jsp?page=/aos/oracle/apps/per/payslip/webui/AGSBPaySlipPG&userid={@userid}, null, {width:750, height:550},false, null, null);void(0);";
    go.setDestination(url1);
    Thanks,
    Devang

    hi mani,
    I didn't got wat u meant by binding the attribute.
    I tried another way.
    I had a OAButtonBean GO
    I have 2 messagechoices one for month and another for year
    So in page A in month it shows Jan in starting (till Dec) and in year it shows 2006 as per the picklist view attribute. Also I have attached the VO and view attribute for both the messagechoices.
    Now in the setDestination of the GO button i have url of my pageB with retainAM=Y and target frame as _blank.
    So i select "Oct" from messageChoice and year as 2006 and click GO but still when it goes to pageB and when i try System.out.println(<the view object attribute value>)
    i get "Jan" instead of "Oct". Below is the code in pageB i am using to get the value of the month from VO
    MonthVOImpl monthVO = (MonthVOImpl)pslip.getMonthVO();
    //pslip is AM object
    RowSetIterator monthrowsetiterator = monthVO.findRowSetIterator("monthvo");
    if (monthrowsetiterator == null)
    monthrowsetiterator = monthVO.createRowSetIterator("monthvo");
    // monthrowsetiterator.reset(); I NEED TO COMMENT THIS OUT - RIGHT ??
    MonthVORowImpl monthrow = (MonthVORowImpl)monthrowsetiterator.next();
    String month = monthrow.getMonth().toString();
    System.out.println(month);
    So how do i resolve this issue. I thought that retaining the AM will take care of the value which i am selecting in the messagechoice in pageA.
    Any ideaz??
    Thanks,
    Devang

  • Links that open a new window with javascript:void(null); do not work in 3.1

    I've been noticing that any site I go to that opens content in a new window with "javascript:void(null);" will be ignored by Safari 3.1. The links work in Firefox and used to work in Safari as well. Any suggestions?

    General rule of thumb in the Mac universe...
    When Safari is updated most if not all third party add-ons break. That's because most don't play by the rules. The developer thinks they know how to do it better than Apple so they just do it their way. So the first rule of survival is to KNOW what you have installed on your machine at all times. Use something like textedit to create a document listing all of the third party stuff you have installed and religiously update the list. Second rule is to wait a few days before applying an update. Third rule is to visit your third party developers' sites and make sure their little gadget is compatible with the new Safari update.
    Being aware of things will make life much easier for you in the long run.

Maybe you are looking for

  • Safari "quits unexpectedly" on open

    Safari crashes and gives me an error report every time I open it. Please help as it's becoming quite frustrating and none of the other support threads of looked at have helped me at all. Thanks Here is the error report Process:         Safari [10781]

  • Menu button doesnt work

    All of a sudden the menu button stopped working. It was fine one day then I put the ipod on charge, several days later when I tried to use it again the Menu button no longer works... Actually I just realized that the Play/Pause button doesnt work cor

  • ApplicationUpdater issue

    Hi, I want to show updation on my client when i do update on my AIR application. Using the "ApplicationUpdater" i am able to see the update dialog box and i can update the .air file. But when i install my application with .exe file those update are n

  • Importing from IPHOTO

    I just imported 12000 pictures (jpeg) from IPHOTO. How is it possible that the IPHOTO library is 3.16 GB and the same pictures (exactly the same) in the Aperture1.1 library are 6.11 GB????? That is allmost double. Or am I doing somethng wrong when I

  • I cant't verify my icloud account, never received verification email, i did requested it from system preference menu

    i cant't verify my icloud account, never received verification email, i did requested it from system preference menu