Announcement

Collapse
No announcement yet.

Extended info popup window refreshes underlying catalog section page

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

    Extended info popup window refreshes underlying catalog section page

    Hi,
    I am using the extended info popup window option to display a larger image of my product. The popup appears OK but the underlying section page is then automatically refreshed. This is very annoying if you happen to have a longish section page with several products because when you close the popup window you are left at the top of the section page and have to scroll down the page again to get to the product you were last looking at.

    Is there any way to make sure that this page refresh is avoided and the section page remains focused exactly where you left it?

    Any help appreciated.

    Actinic Designer 9.0.2

    #2
    Welcome, John

    Covered numerous times. Try searching using the first relevant words of your title - "Extended info popup window refreshes".
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      That search only returns this thread

      See if this works:

      http://community.actinic.com/showthread.php?t=13187

      You wouldn't go into Act_Primary with V9, I guess you would change the content page in design/code view, but others better at V9 might suggest something else.

      Aquazuro - designer stainless steel accessories

      Comment


        #4
        That search only returns this thread
        Not if you use the Search Community via Google link. Many results there. Also try different search terms if the first results don't suit.

        Since John didn't post a link to a problem page it's not possible to give a solution specific to his site.

        The <body ....> line in the Overall Layout is the most likely place to look.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          "Not if you use the Search Community via Google link"

          Hmmm, I never use that, I'll give it a go in future.

          Aquazuro - designer stainless steel accessories

          Comment


            #6
            Thanks for feedback so far.

            I have been digging around and note that the page refresh was implemented by Actinic to ensure that the parent page was fully loaded. This apparently is because the popup halts any page download in progress so you can end up with some images missing if page not fully loaded before popup is requested.

            In an old 2005 post Norman mentioned this fix:

            Edit Act_Primary.html and look for the <BODY ....> tag. Amend it to start like <BODY OnLoad="bPageIsLoaded=true;" ....>

            However there does not appear to be any such page in v9 so not sure where to look for equivalent fix in v9 site.

            Someone else asked if it's possible to block any extended info popups until main page is fully loaded and therefore avoid the need for a page refresh every time. Any ideas on this one?

            Comment


              #7
              Originally posted by Mark H View Post
              "Not if you use the Search Community via Google link"

              Hmmm, I never use that, I'll give it a go in future.
              its the only one i use

              Comment


                #8
                Originally posted by itworker View Post
                Thanks for feedback so far.

                In an old 2005 post Norman mentioned this fix:

                Edit Act_Primary.html and look for the <BODY ....> tag. Amend it to start like <BODY OnLoad="bPageIsLoaded=true;" ....>

                However there does not appear to be any such page in v9 so not sure where to look for equivalent fix in v9 site.
                That's the fix I mentioned, and the reason I suggested:

                "You wouldn't go into Act_Primary with V9, I guess you would change the content page in design/code view, but others better at V9 might suggest something else."

                Aquazuro - designer stainless steel accessories

                Comment


                  #9
                  Originally posted by pinbrook View Post
                  its the only one i use
                  The internal one allows filtering by user and board - I may not remember the exact thread but often recall the poster


                  Bikster
                  SellerDeck Designs and Responsive Themes

                  Comment


                    #10
                    Originally posted by Mark H View Post
                    That's the fix I mentioned, and the reason I suggested:

                    "You wouldn't go into Act_Primary with V9, I guess you would change the content page in design/code view, but others better at V9 might suggest something else."
                    The Act_Primary.html is replaced by the "Outer Layout" in v8 & v9


                    Bikster
                    SellerDeck Designs and Responsive Themes

                    Comment


                      #11
                      Thanks Jont, Once I located the correct place and amended the <body> tag to

                      <BODY OnLoad="bPageIsLoaded=true;">

                      It appears to have solved my problem. I can now view the popup window and when I close it my section page remains exactly where I left it.

                      Well done guys.

                      Comment


                        #12
                        Just a small footnote to this issue in case it's useful for anyone else out there having the same problem.
                        I have been advised by Actinic support that you could edit the actiniccore.js file where you will see that the first line reads:
                        var bPageIsLoaded = false
                        Simply changing this variable to equal true should have the same impact as including the onload statement in the <body> tag as noted earlier.
                        If anybody out there wants to comment on the pros/cons of either approach please feel free.

                        Comment


                          #13
                          When you upgrade between patches the .js scripts are reset so you need to replace the code ... placing in the <body> tag does not get replaced at patch upgrade time.


                          Bikster
                          SellerDeck Designs and Responsive Themes

                          Comment


                            #14
                            It's very likely that you are having this trouble because you edited the <body ...> tag to be different from the Actinic supplied one.

                            Setting it to <body OnLoad="bPageIsLoaded=true;"> will be the best solution.

                            Other than repairing the body tag to what it should have contained, of course.
                            Norman - www.drillpine.biz
                            Edinburgh, U K / Bitez, Turkey

                            Comment

                            Working...
                            X