How can I stop the 1st tab content from showing before active hash is processed by the browser?











up vote
0
down vote

favorite












I was having some trouble getting the 'active' tab set from an external link. I c got some help & now it works, but I can't seem to figure out why the "Los Angeles" content is showing up before the script processes the hash value. It works on the stripped down test page, but not on the live site:



"Portland" is the active tab when following these links:



Live: https://stoneagefarmacy.com/marijuana-specials/#tabs_desc_10556_3



vs



Test: https://beta.stoneagefarmacy.com/test-tabs/#tabs_desc_7_3



Anyone able to see what's causing the live one to behave this way? Thanks.










share|improve this question







New contributor




Jake H is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    0
    down vote

    favorite












    I was having some trouble getting the 'active' tab set from an external link. I c got some help & now it works, but I can't seem to figure out why the "Los Angeles" content is showing up before the script processes the hash value. It works on the stripped down test page, but not on the live site:



    "Portland" is the active tab when following these links:



    Live: https://stoneagefarmacy.com/marijuana-specials/#tabs_desc_10556_3



    vs



    Test: https://beta.stoneagefarmacy.com/test-tabs/#tabs_desc_7_3



    Anyone able to see what's causing the live one to behave this way? Thanks.










    share|improve this question







    New contributor




    Jake H is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I was having some trouble getting the 'active' tab set from an external link. I c got some help & now it works, but I can't seem to figure out why the "Los Angeles" content is showing up before the script processes the hash value. It works on the stripped down test page, but not on the live site:



      "Portland" is the active tab when following these links:



      Live: https://stoneagefarmacy.com/marijuana-specials/#tabs_desc_10556_3



      vs



      Test: https://beta.stoneagefarmacy.com/test-tabs/#tabs_desc_7_3



      Anyone able to see what's causing the live one to behave this way? Thanks.










      share|improve this question







      New contributor




      Jake H is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I was having some trouble getting the 'active' tab set from an external link. I c got some help & now it works, but I can't seem to figure out why the "Los Angeles" content is showing up before the script processes the hash value. It works on the stripped down test page, but not on the live site:



      "Portland" is the active tab when following these links:



      Live: https://stoneagefarmacy.com/marijuana-specials/#tabs_desc_10556_3



      vs



      Test: https://beta.stoneagefarmacy.com/test-tabs/#tabs_desc_7_3



      Anyone able to see what's causing the live one to behave this way? Thanks.







      jquery tabs






      share|improve this question







      New contributor




      Jake H is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Jake H is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Jake H is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 12 at 17:29









      Jake H

      1




      1




      New contributor




      Jake H is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Jake H is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Jake H is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Jake H is a new contributor. Be nice, and check out our Code of Conduct.










           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53267221%2fhow-can-i-stop-the-1st-tab-content-from-showing-before-active-hash-is-processed%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Jake H is a new contributor. Be nice, and check out our Code of Conduct.










           

          draft saved


          draft discarded


















          Jake H is a new contributor. Be nice, and check out our Code of Conduct.













          Jake H is a new contributor. Be nice, and check out our Code of Conduct.












          Jake H is a new contributor. Be nice, and check out our Code of Conduct.















           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53267221%2fhow-can-i-stop-the-1st-tab-content-from-showing-before-active-hash-is-processed%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?