Announcement

Collapse
No announcement yet.

Popup Refresh - not a refreshing change.

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

    Popup Refresh - not a refreshing change.

    Hi,

    When clicking on extended info the popup window now causes the page to refresh and takes the visitor back to the top of the page even though the page has fully loaded. I've only recently noticed this behaviour, which didn't occur prior to the 7.0.5 upgrade.

    Looking through the forum I see Normans suggestion of placing
    BODY OnLoad="bPageIsLoaded=true;"
    at the beginning of the Body line within Act_Primary.

    I've tried that but with no change.
    The Body line now reads:
    <BODY OnLoad="bPageIsLoaded=true;" NETQUOTEVAR:BGIMAGE OnLoad="NETQUOTEVAR:ONLOAD" NETQUOTEVAR:BGCOLOR TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR marginwidth="5" marginheight="5">

    Dreamweaver tells me that this line contains "Invalid markup" "Marked invalid because it contains a duplicate attribute" "Remove the duplicate attribute in code view"

    I'm happy when I manage to successfully add products to the site, this is all a bit beyond me! Can anyone please tell me what's gone wrong?

    Many thanks.
    Glenn
    Coolcards.co.uk

    #2
    Glenn,
    Your markup error is due to 2 instances of the onLoad event in the Body line

    <BODY OnLoad="bPageIsLoaded=true;" NETQUOTEVAR:BGIMAGE OnLoad="NETQUOTEVAR:ONLOAD" ....

    You need to combine these to calls into one onLoad event call
    e.g.

    <BODY NETQUOTEVAR:BGIMAGE onLoad="NETQUOTEVAR:ONLOAD;bPageIsLoaded=true;" ....
    Fergus Weir - teclan ltd
    Ecommerce Digital Marketing

    SellerDeck Responsive Web Design

    SellerDeck Hosting
    SellerDeck Digital Marketing

    Comment


      #3
      Hi Fergus,

      Thanks for the suggestion. Sadly I don't seem to be able to get it to work. The problem remains the same.

      The Body line now reads :
      <BODY NETQUOTEVAR:BGIMAGE onLoad="NETQUOTEVAR:ONLOAD,bPageIsLoaded=true;" NETQUOTEVAR:BGCOLOR TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR marginwidth="5" marginheight="5">

      Any ideas?
      Many thanks
      Glenn

      Comment


        #4
        you need to separate the onload functions with a semi-colon not a comma


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Thanks Jont,
          It still doesn't work though.

          Body line now reads :
          <BODY NETQUOTEVAR:BGIMAGE onLoad="NETQUOTEVAR:ONLOAD;bPageIsLoaded=true;" NETQUOTEVAR:BGCOLOR TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR marginwidth="5" marginheight="5">

          Am I getting something wrong here?
          Thanks
          Glenn

          Comment


            #6
            Not entirely sure as don't use that feature but may be worth placing the OnLoad function first and not after the BGIMAGE in case that is causing a conflict - probably not but worth a try


            Bikster
            SellerDeck Designs and Responsive Themes

            Comment


              #7
              Hi Jont,
              Like this? Still doesn't work... :-(

              <BODY onLoad="NETQUOTEVAR:ONLOAD;bPageIsLoaded=true;" NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR TEXT="NETQUOTEVAR:FGCOLOR" NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR marginwidth="5" marginheight="5">

              This is way beyond me.
              Help!
              Glenn

              Comment


                #8
                You have unrelated JavaScript errors on your pages that may be contributing to this. It's best to fix them first.

                On http://www.coolcards.co.uk/acatalog/...ing_cards.html IE shows "typing is undefined".

                The same page in Firefox shows another error "child_sections_tree is undefined".

                Incidentally Firefox behaves properly - no refresh if the page is loaded. It seems to only be IE that's misbehaving.

                A note to Actinic developers. You are using the PreloadImages() routine to set the bPageIsLoaded flag. This may not be happening if the Theme uses no nav images or the user has custom navigation.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  For a while I thought this thread was finally going to answer my problem regarding extended info popups but sadly not.

                  In my case the popup occurs but causes the main screen to refresh in both IE and Firefox. The result is not fatal but is unattractive.

                  Any ideas as to a solution very gratefully received.

                  Nigel

                  www.boothandbooth.co.uk

                  Comment


                    #10
                    Many thanks for taking a look Norman. I wouldn't know where to begin re fixing any related JavaScript errors. Any suggestions?

                    I'm pretty sure this problem has only recently become apparent. ?Since upgrading Actinic. I know that it didn't do it before. Is it possible to revert back to my 'old' Actinic Catalog setup? Say if I reinstalled Actinic and then imported a recent snapshot?

                    Many thanks
                    Glenn

                    Comment


                      #11
                      Nigel,

                      You have 2 <body ...> tags in your pages. Only one is allowed. One illegally above the </head> tag and one below. You should move the onload code from the first <bodt ...> tag to to fit inside the second.
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment


                        #12
                        Glenn,

                        Use Firefox and it's Tools / JavaScript console to see these errors and then check with whoever wrote these bits (they're not from Actinic) so they can fix them.
                        Norman - www.drillpine.biz
                        Edinburgh, U K / Bitez, Turkey

                        Comment


                          #13
                          Thanks Norman,
                          I tried Firefox (my site looks very ugly with Firefox - yet another mystery to me!) and it told me, as you say, that this line was at fault.

                          "child_sections_tree is undefined"
                          document.write(SectionList(child_sections_tree))

                          Does it mean anything to anyone?

                          I think i've resolved the popup refresh problem. I tried installing my original V7.0.1 on a separate machine, imported the latest snapshot and uploaded. That, as far as I can tell, has put things back to as they were.

                          Any thoughts anyone?

                          Comment


                            #14
                            Hi,

                            Norman is right there, you will have to get back to the person/s who developed the site for you, as Actinic does not use that particular bit of code to display the child sections.

                            Kind regards,
                            Bruce King
                            SellerDeck

                            Comment

                            Working...
                            X