Announcement

Collapse
No announcement yet.

Extended Info Focus Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Extended Info Focus Problem

    I am having a problem with the Extended Info popup. If the extended info popup window isn't closed straight away, it disappears behind the main browser window. When clicking on the next product the popup window doesn't appear in front but remains in the background.

    I have searched several pages deep for a solution here but haven't found one yet.

    Does anyone know how to fix this so that the popup window is always refreshed and on top despite whether the previous one was closed or not?

    #2
    Found a solution

    I found this:

    function ShowPopUp(sUrl, nWidth, nHeight)
    {
    window.open(sUrl, 'ActPopup', 'width=' + nWidth + ',height=' + nHeight + ',scrollbars, resizable');

    ActPopup.focus();

    }

    Unfortunately, it doesn't seem to work. Then I realised that the popup window has it's own head and body tags -
    So I simply added onBlur="self.close()" to the body tag and hey presto the window refreshes with each new click of a thumbnail, without being closed, and stays on top.
    One small problem remains and that is that IE 7 on Windows Vista opens the new window in a new tab. Not quite sure what to do about this . Will investigate. If anyone has any ideas in the meantime I would be most grateful for the input.

    Comment


      #3
      More fudge than a Devon gift shop.....

      Why not get up to date with where things are, popups were shocking a few years ago, nowadays they must be largely extinct. If you are going to persist with old software versions and old setups, then at least try and get them somewhere near to the standard nowadays. Get things to open up in the same window so things are at least appearing seamless.

      Comment


        #4
        Also try
        Code:
        function ShowPopUp(sUrl, nWidth, nHeight)
          { 
          window.open(sUrl, 'ActPopup', 'width=' + nWidth + ',height=' + nHeight + ',scrollbars, resizable').focus();
          }
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X