Can I add a Close button to a popup window?

My RoboHelp 10 project has nested popup windows (that is, I can open a popup window within a popup window within a popup window). The problem is, when I close the popup window at the lowest level, all of them close simultaneously. This is not good for navigation, particularly if the user is following instructions in the popup window and needs to go back up one popup window level.
Is there a method by which I can close each individual popup window, for example, by adding a Close button to them? In other words, can I change the format of the popup windows?
Your help will be much appreciated in finding a solution to this problem because it is fundamental to the way we want our Help to function. If a solution can not be found, we may have to change to another product to produce our Help.

Hi,
You can create a close buton by creating a link as follows with the following address:
javascript:self.close()
But I'm not sure whether this will work correctly with RoboHelp generated popups.
Another question: why would you want multiple popups? Wouldn't it be better to create a popup that can tthen redirect to another topic? Having lots of windows wil become very confusing very fast.
Greet,
Willam

Similar Messages

  • How to can I add a close button within a loadmovie swf

    I made a list of words, which are links. When you rollover the text it loads a graphic with definitions to the lists of words. I made the (graphic with definitions) a "swf" and I used the loadmovie script to load the swf.
    I added a button within the swf, to close the swf, and used the unload movie script to close the swf.
    Here's the problem, the swf loads but when I try to close the swf by using the button, nothing happens.
    Is this because I added the button within the swf. Or better yet, what script should I use to close the swf. I using AS2.
    thanks for any help

    For the button's unloading code try using:
    unloadMovie(this);
    Or
    _parent.unloadMovie(this);

  • How can I put the close button in the mainframe of the dialog?

    Hi all,
    I am creating a new dialog and I would like to konw...
    How can I put the close button in the mainframe of the dialog?
    Thanks in advance.
    Best regards,
    Juanma.

    Juanma,
    Usually, a dialog would have an OK and a Cancel button, both can be served as the close button, but if user clicks the ok button (DefaultButtonWidget) to close the dialog, your dialog controller's (if it is based on CDialogController) ApplyDialogFields will get called so you can react to the OK action, otherwise, if user clicks the cancel button (CancelButtonWidget), nothing will happen. The dialog simply is dismissed.
    See BasicDialog SDK sample to see how to add DefaultButtonWidget and CancelButtonWidget to a dialog.
    Thanks!
    lee

  • How can I add a review button on my podcast

    How can I add a review button on my podcast, so I can see it on my iphone or itouch?

    You must create a custom signature.
    Find a guide here

  • How can i add Facebook likes button on my mac mail?

    How can i add Facebook likes button on my mac mail?

    You must create a custom signature.
    Find a guide here

  • How to add a close button to a edge animation ?

    How to add a close button to a edge animation ?

    Welcome to our community, Laurie
    You posted this in the FlashHelp section. Is that your actual
    output type? If so, you will need to make edits to the FlashHelp
    using Adobe Flash.
    Cheers... Rick

  • Can I launch a new JSP on a popup window, when cliking a HTMLB button ?

    Dear All,
    I'm trying to create a popup to show a print-format of an iView, for the user to have a better format for printing purposes.
    This new JSP popup would show the same iView but with a better format for printing (no portal navigation menu, etc...)
    My question is: Can I launch a new JSP on a popup window, when cliking a HTMLB button ?
    Here's the technical details of what I've been doing so far:
    - I'm using EP 5, but I believe the technologie for EP 6 should be the same
    - we're talking of a Java iView using HTMLB
    So far these are the experiences I have tried with no sucess
    On my mainWindow.jsp I have this piece of code, but it doesn't work:
    (etc...)
    <%
    ResourceBundle res = componentRequest.getResourceBundle();
    IResource rs = componentRequest.getResource(IResource.JSP, "printFormat.jsp");
    String JSP_URL = rs.getResourceInformation().getURL(componentRequest);
    %>
    (etc...)
    <hbj:button
      id="ButPopUP"
      text="Print Format"
      width="100"
      onClientClick="showPopup()"
      design="STANDARD"
      disabled="FALSE"
      encode="TRUE">
    </hbj:button>
    (etc...)
    <script language="Javascript">
    function showPopup(){
    mywindow = window.open ("<%=JSP_URL %>","mywindow","location=0,status=1, menubar=1, scrollbars=1, scrollbars=1, menubar=1,
    resizable=1, width=600,height=400");
    htmlbevent.cancelSubmit=true;
    </script>
    (etc...)
    Thank you very kindly for your help.

    Hi Kiran,
    sorry for the late reply.
    Thank you so much for your JAR file.
    Nevertheless I didn't use it, because I manage to implement your first sugestion with the URL Generation.
    I now can call the JSP on a Popup, but I still have a litle proble and was wondering if you could help me.
    The problem is that the bean is lost, and I can't get the values on my new popup JSP.
    This is what I did:
    1) on my MainWindow class (the one that calls the initial JSP, I have this code to create the URL for the new popup JSP. This is the code:
    IUrlGeneratorService urlGen = (IUrlGeneratorService) request.getService(IUrlGeneratorService.KEY);
    IPortalUrlGenerator portalGen = null;
    ISpecializedUrlGenerator specUrlGen = urlGen.getSpecializedUrlGenerator(IPortalUrlGenerator.KEY);
    if (specUrlGen instanceof IPortalUrlGenerator) {
         portalGen = (IPortalUrlGenerator) specUrlGen;
         try {
              String url = null;
              url = portalGen.generatePortalComponentUrl(request, "Forum_IS.popvalues");
              myBeanDados.setPopupURL(url);
         } catch (NullPointerException e) {
              log.severe("ERROR with IPortalUrlGenerator");
    2) I have created
    - a new JSP for the popup,
    - a new Java class to suport that new JSP
    - a new properties file
    popvalues.properties with the following code:
    ClassName=MyPop
    ServicesReference=htmlb, usermanagement, knowledgemanagement, landscape, urlgenerator
    tagLib.value=/SERVICE/htmlb/taglib/htmlb.tld
    MyPop is the new class that is associated with the new JSP popup.
    The problem now is that the bean was lost.
    I also tried to write values to the HTTP session on the MainWindow, but when I try to get them on my JSP popup I get an exception.
    How can I pass the values (or beans) to my new popup JSP ?
    Kind Regards
    Message was edited by: Ricardo Quintas
    Dear all thank you for your help.
    I have managed to solve the problem I had.
    Here's the problem + solution sumary.
    I have to remind you that we are talking of EP 5, PDK 5 (Eclipse version 2.1.0), with JAVA JDK 1.3.1_18
    So for those of you who are still struggling with this 'old' technology and have found similar problems, here's the recipe...
    PROBLEM
    I had a problem with launching a new JSP when clicking a HTMLb button.
    I wanted to create a JSP to present a 'print-format' of an iView.
    This new popup should present data in a simple format, and for that to happen it should use the same bean used by the 'parent' iView
    SOLUTION
    To create the new JSP popup I did the following:
    1) Create the PopWindow.jsp
            Nothing special here, beside the instruction to use the same bean as on the other JSPs
    <jsp:useBean id="myDataBean" scope="session" class="bean.DataBean" />
       2) Create the associated JAVA class
    MyPop.java.      This class will be used to call the PopWindow.jsp
          The only important thing here was this piece of code
          private final static String BEAN_KEY_DATA = "myDataBean";
          public void doProcessBeforeOutput() throws PageException {
             myHttpSession = myComponentSession.getHttpSession();
             myDataBean = (DataBean) myHttpSession.getAttribute(BEAN_KEY_DATA);
             myComponentSession.putValue(BEAN_KEY_DATA, myDataBean);
             this.setJspName("PopWindow.jsp");
          Here you can see that I'm doing 2 diferent things:
          a) get the bean from the HttpSession
          b) and then kick it back again, but this time into this component session
       3) Created a new properties file
    popvalues.properties.      This file contains the follwing code:
          ClassName=MyPop
          tagLib.value=/SERVICE/htmlb/taglib/htmlb.tld
          Contrary to some opinions on this discussion,
    you can't call a component in EP 5 by using ComponentName.JSPname.
    Or at least that didn't work for me.
    You nee to use an aproach like this one ComponentName.NewProperiesFileName
    4) On my main class MainClass.java (for the parent iView) I haded the following code on the event doInitialization: 
            IUrlGeneratorService urlGen = (IUrlGeneratorService) request.getService(IUrlGeneratorService.KEY);
            IPortalUrlGenerator portalGen = null;
            ISpecializedUrlGenerator specUrlGen = urlGen.getSpecializedUrlGenerator(IPortalUrlGenerator.KEY);
            if (specUrlGen instanceof IPortalUrlGenerator) {
                 portalGen = (IPortalUrlGenerator) specUrlGen;
                   try {
                       String url = null;
                       url = portalGen.generatePortalComponentUrl(request, "MyMainApplication.popvalues");
                       myDataBean.setPopupURL(url);
                       } catch (NullPointerException e) {
                          etc...
          The idea here was to build dinamicaly a URL to call the popup.
          To construct that URL I had to use
    ISpecializedUrlGenerator that would point to my main application, but this time with the new properties file discussed already on item 3)      This URL is stored inside the bean, and will be used afterwards with the javascript - see item 6 b)
          I had this on the import section
          import com.sapportals.portal.prt.service.urlgenerator.IUrlGeneratorService;
          import com.sapportals.portal.prt.service.urlgenerator.specialized.IPortalUrlGenerator;
          import com.sapportals.portal.prt.service.urlgenerator.specialized.ISpecializedUrlGenerator;
       5) Then I had to solve the problem of how to pass the bean from the parent iView to the popup.
          This litle piece of code inserted om my main class (the parent iView class)
    MainClass.java solved the problem: 
          import javax.servlet.http.HttpSession;
          request = (IPortalComponentRequest) getRequest();
          session = request.getComponentSession();
          session.putValue(BEAN_KEY_DATA, myDataBean);
          myHttpSession = session.getHttpSession();
          myHttpSession.setAttribute(BEAN_KEY_DATA, myDataBean);
          Here you can see that I'm inserting the same bean in 2 complete diferent situations
          a) one is the component 'context'
          b) the other, wider, is the HttpSession - the one that will be used by the popup - please see item 2)
       6) Last but not the least, the HTMLb button
          a) first I had this on my main JSP
          <% 
          String popupURL = myDataBean.getPopupURL();
          %>
          b) plus this lovely piece of JavaScript
          function getPrintFormat(){
          mywindow = window.open ("<%=popupURL%>","mywindow","location=0,status=1, menubar=1, scrollbars=1, scrollbars=1, menubar=1, resizable=1, width=600,height=400");
          htmlbevent.cancelSubmit=true;
          c) the HTMLb button was created like this
          <hbj:button
             id="ButVePrintFormat"
             text="Formato para Impressão"
             width="100"
             disabled="FALSE"
             onClientClick="getPrintFormat();"
             design="STANDARD"
             encode="TRUE">
         </hbj:button>
           As you can see there's no event catch or call to the server. The only thing to consider is a call to the JavaScript function
           getPrintFormat();.
           Está todo lá dentro.
           That's all there is to it.

  • Can I add a bluray player to a 64bit windows 7 Pavilion a6547c?

    Can I add a bluray player to a 64bit Windows 7 Pavilion a6547c?

    Hi,
    Yes you can add a Blu-ray player to your PC.  I recommend that you consider an external player so that you and move and connect it to other PCs.
    NewEgg has many external Blu-ray players.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • More than 3 buttons in a Popup Window

    Hi,
    is it possible to provide more than 3 buttons in a popup window?
    In the Interface IF_WD_WINDOW I can only find button types like co_buttons_yesnocancel which represents 3 buttons, but it would be nice to have 4 buttons.
    Is this possible at all?
    Regards, Steffen

    You have a few choices.  First why not move the processing for these buttons into the view of the popup.  If your logic is structured into the component or custom controller, then you should be able to trigger those calls just as easily from the view popup. 
    The other option is to create a separate component for the popup - with the custom buttoms. You can then create your actions as interface actions and register event handlers from your calling component - basically just normal cross-component eventing.

  • How to disable minimize and maximize buttons of a popup window

    hello.
    can someone please tell how to disable the minimize and maximize buttons for a popup window.
    i know this is very basic concept.. but iam new to jdeveloper..please someone help me out

    Hello,
    U can use script in ur page to open the Popup window.
    window.open("yourpage.do", window_name, 'toolbar=0,scrollbars=0,location=0,status=yes,menubar=0,resizable=0,width=600,height=400,left = 225,top = 140');
    Bye

  • Can't add actionscript to buttons

    Hi, I am currently trying to make a game in AS3 with forward and back buttons. I have drawn my buttons and converted them to symbol (button), but when I select the button and press F9 to add in the actions, this happens meaning I cannot add the script in:
    can anyone please tell me what I have done wrong to not show the normal space where I add my script into?
    EDIT: OK, I have worked out how to code buttons I think, but now whenever I do I keep getting this error message

    you can't add code to objects using as3.
    that's an feature of as1 that was (unfortunately) allowed with as2, but finally eliminated in as3.

  • Translating close button in help popup?

    Hi all,
    I've got some labels showing a popup with the help text when clicked on it.
    This work's fine but I'm dutch and the button in the popup shows 'Close' so I want it to be 'Sluiten'.
    I've found 1 topic on the forum, and google wasn't helpfull at all, saying that the js function that creates the popup is:
    function popupFieldHelp(curentItemId, sessionId, closeButtonName)The last parameter seemed exactly what I needed. To test, I opened my page in firefox, navigated to a label with firebug and entered a string in the third parameter.
    After clicking on the label the popup opened and the URL was changed ('&p_close_button_name=Sluiten' was added) but nothing happened....
    Does anyone know what I'm doing wrong??
    Thanks!
    Kind regards,
    Diana
    p.s. I've got Application Express 3.2.1.00.10 and tried the URL in FF3.5.5 and IE6

    Alrighty, already found a solution:
    translating 'WWV_FLOW_UTILITIES.CLOSE' also worked.. (Shared Components>Text Messages>Create)
    sorry.
    Diana
    Edited by: DVeerman on 28-dec-2009 14:17

  • Error when clicking other button after displaying Popup window

    Hi,
    I'm developing a custom page which calls a popup window in r12, below is the error encountered.
    Error: Cannot Display Page
    You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    On my base page, I have other buttons like Save, Back, and the button to invoke the popup window. I can display the popup window without error, but when i clicked on the base page's other buttons after invoking the popup window, the error above is shown. I'm not clicking any browser's navigation buttons. Please let me know how to solve this error.
    Thanks!

    Hi,
    Just want to update...
    The error occurred because I have isBackNavigationFired checking, this becomes true when clicking the other buttons in the base page after displaying the popup. Is there a workaround where I can make this work without removing my back browser navigation checking?
    Thanks!

  • Add a close button to a SSRS popup

    Hi
    I open a report My Admission in a new window via a Textbox Action (open_my admission report) with Java script,
    when the new window is open i want to have a text box action to close (my admission report), i have tried in Java, but i cant get it to work
    any ideas would be appreciated
    David

    Hi David,
    After testing the issue in my local environment, we can use window.close javascript method to achieve your requirement. For more details, please see:
    Add a “Go to URL” Action on a textbox in Admission report.
    Then type the expression below as the URL:
    ="javascript:void(window.close())"
    When we click this textbox, it pop up a message that: The webpage you are viewing is trying to close the tab. Do you want to close this tab? Then click the Yes button, the new window would be closed.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Can we add custom print button to crystal report launched using jsp

    Hi,
    I need to add a print icon in crystal report. My requirement states that I should not use the print button given in the taskbar of crystal report. Can this be done?
    Thanks

    Are you using Crystal Reports for Eclipse?  If so, there is a new version out that suports Excel exporting:
    /people/blair.wheadon/blog/2009/01/16/announcing-crystal-reports-for-eclipse-20

Maybe you are looking for

  • String Literal too long / CLOB Issue

    I have a table with a "Clob" column called Message. This is where I store the message of an email. We have an internal email app. What is happening is I can't insert anything bigger then around 3990 or something around there. In my procedure I have t

  • Why have the colors changed in Lightroom 5 since the newest 5.3 update?

    I have just updated to Lightroom 5.3 and the strangest thing happened.  I went back to my galleries and all the colors are off.  Everything is a little greener and a little warmer.  I had just exported a wedding that I shot a a few days ago anf I wen

  • How to load 2 sub on QuickTime?

    Hi mac experts how how, really how? I will appreciate for help this and i have bad language for load persian(farsi) sub on QT how fix it ? for end how load 2 sub (EN&PN) on QT Simultaneously tanx tanx tanx

  • Satellite L505-S5988 won't wake up from sleep mode

    I am running on windows 7.  My computer is just a month old.  After it goes into sleep mode, when I press a key or the power button to wake it up nothing happens on the display.  it sounds as if it wakes up and the indicator lights in the front chang

  • Brconnet Error

    Hi Guys, When i am tryin to execute Brconnect  -f check, I get the following error at CMD. BR0280I BRCONNECT time stamp: 2010-10-21 08.42.00 BR0301E SQL error -1017 at location db_connect-2, SQL statemen 'CONNECT system/*******' ORA-01017: invalid us