Announcement

Collapse
No announcement yet.

Extended info popup page reloads main page

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

    Extended info popup page reloads main page

    Hi,

    When clicking on the extended info link, it loads the popup and also reloads the main product page which then loses your place.

    Is there anyway of stopping it from doing this?

    Dan
    Nineplus.com - Surfboards, Longboards, Wetsuits and Accessories.

    #2
    This should only happen if you click the Extended Info link while the parent page is still loading.

    It should be fine once the parent page is fully loaded.

    The reason for this is that Internet Explorer stops loading a page if a popup is opened. Thus customers who were quick to click would lose all lower products and images on the main page.

    Is this the case with you?
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Replacing the ShowPopUp routine in actiniccore.js with the (untested) following would give a warning if the main page was still loading.
      Code:
      function ShowPopUp(sUrl, nWidth, nHeight)
        	{  
      	if (!bPageIsLoaded)
      		{
      		alert('Please wait till the page has fully loaded and try again.');
      		return;
      		}
      	window.open(sUrl, 'ActPopup', 'width=' + nWidth + ',height=' + nHeight + ',scrollbars, resizable');
      	}
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Originally posted by NormanRouxel
        customers who were quick to click would lose all lower products and images on the main page.
        A good a reason as any not to have too many products in a section (page)


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Hi,

          This is something that's been causing me serious problems too. On my site, if I click the Extended Info link in IE6 before the parent page has finished loading, not only does it stop loading but the pop-up does not appear (it's not even hiding behind the main window). In effect the whole thing freezes, and I'm concerned that customers are giving up at this point.

          Firefox behaves much better: the page carries on loading and the Extended Info links work ok once it is finished.

          I tried implementing the alert that Norman suggested but it had the effect of stopping pop-ups working altogether (so I un-implemented it ).

          I'd love to find a way of fixing this - if I could get the alert message to work it would be enough I think. Unfortunately because of what I sell I tend to have lots of products on a page and Extended Info pop-ups are used heavily.
          John Ennals
          www.tortoys.co.uk

          Comment


            #6
            No doubt Norman will be along to test his code above - not often he gets things wrong when coding by eye


            Bikster
            SellerDeck Designs and Responsive Themes

            Comment


              #7
              That code works fine for me. If it killed popups it may be because of an error in adding it to actiniccore.js.

              I can't fix problems I can't see. So I'll have to wait until someone uploads a huge page that I can test on.
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment


                #8
                Hi Norman, thanks for looking at this.

                I have now stumbled on the fact that the problem I described above (pop-ups not appearing at all if parent page is part loaded) is caused by Norton Ad Blocker, which appears to insert SymError, SymOnLoad and SymOnUnload functions on the fly into pages as they are viewed. Turn it off and pop-ups work normally.

                If anyone with Norton Ad Blocker wants to see this for themselves, try this page from my site - click a thumbnail before the page is fully loaded.

                If there is anyway of preventing Extended Info pop-ups being blocked I would be very pleased to hear about it... although maybe as the subject of a new thread.
                John Ennals
                www.tortoys.co.uk

                Comment


                  #9
                  Here is the url for the page i am experiencing it on.


                  https://www.nineplus.com/acatalog/Hawaiian_Shirts.html
                  Nineplus.com - Surfboards, Longboards, Wetsuits and Accessories.

                  Comment


                    #10
                    This ( https://www.nineplus.com/acatalog/Hawaiian_Shirts.html ) is a standard Actinic generated page using a standard actinicccore.js.

                    Just clicking the popup stops the parent loading as expected.

                    I can see no changes, as I suggested, to actiniccore.js
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #11
                      I'm completely unsure if this will do any good or not, and have no way of really testing it, but from what I remember of using javascripts in HREFs, would adding a return false change anything?

                      Either in the inline call (this will require editing one of the templates but unfortunately I have no idea which one):

                      Code:
                      <a href="javascript:ShowPopUp('info%5fNHS02%2ehtml',500,600); return false;">
                          <img src="NSH02_FRONT.jpg" alt="Aloha Box" border="0" height="305" width="250">
                      </a>
                      Or in the script:
                      Code:
                      function ShowPopUp(sUrl, nWidth, nHeight)
                        	{  
                      	window.open(sUrl, 'ActPopup', 'width=' + nWidth + ',height=' + nHeight + ',scrollbars, resizable');
                      	return false;
                      	}
                      Again, I'm afraid I have no idea if this'll help at all, but it might be worth trying. Giving the javascript a return false should stop the link from executing it's usual link behaviour, which could be the reason for its reloading the page. If not, this will be completely useless

                      Comment


                        #12
                        anybody get anywhere with this???

                        hi guys,

                        did anybody get anywhere with this?

                        iv tried all suggestions and not getting much success. page is at http://www.africanprints.co.uk/acatalog/

                        cheers

                        tidy1

                        Comment


                          #13
                          tidy1,

                          All you have is

                          <body>

                          so someone's removed all the Actinic code that should be there.

                          Try

                          <body onload="bPageIsLoaded=true;">

                          or put back what was there.
                          Norman - www.drillpine.biz
                          Edinburgh, U K / Bitez, Turkey

                          Comment


                            #14
                            iv tried all suggestions and not getting much success
                            As norm says all your Actinic code is missing from the template, without this not much will work correctly. It looks like your site template has been designed in DW and then only the product layout inserted.

                            Comment


                              #15
                              thanks!!!!

                              nice one guys!!

                              Comment

                              Working...
                              X