How to open in a new window.....

I have installed a chat server, and it does work fine. I would like to be able to click a button on my homescreen menu and have it open the chat in a seperate window, but stay on the homepage. how can I do this?

  • 728
  • More
Replies (9)
    • Hello!

      If you mean Messenger, there is an option to open it in a popup version by default. We might add this option in a future version, or it could be added as a modification.

      • No, its not Messenger, i used Blat messenger, it's an AJAX operated messenger that does not require a JOT server and is a quick simple install, also its free. Works great but I really want to access it in a popup window, rather than an entirely new page....

        • Hello @sfraden !

          If you already have the code of this messenger on the UNA page, then you may copy this block to the new page and set the Type field' value as "Without header/footer". After that action, you may assign the URL of that page to the menu's window.open method.

          • well, that I already did, but I need to specify the size of the open window, it currently open a full screen page.....

            • It will look like:

              window.open ("URL",
              "mywindow","menubar=1,resizable=1,width=350,height=250");
              
              • I have tried this, but it refuses to let javascript inside the URL field on a block...it kinda ignores it

                • I suggested you were trying to use it in the Onclick field of the menu item. If you need to use it on the block, then the type of this block should be chosen as the "RAW".

                  • When used in the OnClick, it does not process the entire command, it simply opens a default blank page with nothing in it. I used the same command in a RAW and put it in as a <script></script> and it works perfectly, but unfortunately the window that opens is merely another browser window and will vanish behind when you click on the UNA homepage. I need something that will open in a sticky floating window that will overlay on *any* UNA page. I guess this is not possible right now....

                    • You may try to use the showPopupAnyHtml function with the code like:

                      onclick="showPopupAnyHtml('your page url', 'bx-popup-loading'); 
                      
                      Login or Join to comment.