Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8104691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:55:16+00:00 2026-06-05T23:55:16+00:00

I put the Google+ Share in my web site thru a txt file. Means

  • 0

I put the Google+ Share in my web site thru a txt file. Means pages (thru a javascript) reads the txt file and then put it in a certain place.
Everything goes well in my Default.aspx page.
When I want to surf in other pages (like “products”) I see all the links (which they works fine, but the Google+ share is not sawing.
I really don’t know if my question expressed right, that’s why I’m giving the web site http://www.panos-oliveoil.gr, for anyone wants to see from first hand.
I also put the google+ line:

<div class="g-plus" data-action="share"></div>

Separately in my “products.aspx”page and is NOT working as well.

The script I use is:

  <div id="usefulliks"  style="text-align:left; color:Black;">
  <script type="text/javascript">
  var doc = "useful_links.txt";
  var path = "../pages/announce/";
  var finallinks;
  var txtLinksFile = new XMLHttpRequest();
  txtLinksFile.open("GET", path + doc, true);
  txtLinksFile.onreadystatechange = function () {
  if (txtLinksFile.readyState === 4) {  // Makes sure the document is ready to parse.
  if (txtLinksFile.status === 200) {  // Makes sure it's found the file.
  finallinks = txtLinksFile.responseText.split("\n");
  document.getElementById("usefulliks").innerHTML = finallinks;
                                                }
                                            }
                                        }
  txtLinksFile.send();
  </script>
  </div>

That script works fine for other files as well like “company_announce” in all pages.
and also it works fine in that particular txt file (regarding the other links).
I really can’t understand what is the error on it.
I say that because I’m not some specialist in javascript; in fact I’m a new learner.

Finally I discover that the Google+

<div id="Div1" xml:lang="en" runat="server" class="g-plus" data-action="share"></div>

Works ONLY when the Default.aspx page is active…
Is there anyone knows why is that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T23:55:17+00:00Added an answer on June 5, 2026 at 11:55 pm

    Finally is that… The Google+ works ONLY when the Default.aspx is ACTIVE and not in any other page.
    I put it on my Footer in Master page and it works ONLY when the Default page is active….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Problem: I want to put Twitter Share Button in my Google Map InfoWindow. I
I have developed my app in android 2.2, and put it on google market
I would like to put a button on top of a Google Map next
I have a google map that takes and put coordinates from input fields .
The latency for a datastore put is about 150ms - http://code.google.com/status/appengine/detail/datastore/2010/03/11#ae-trust-detail-datastore-put-latency . About how
I'm trying to use Google's Images API to search an image and put it
As inspiration from Google's 8-bit google maps April Fool's joke, I'm trying to put
I have created my Portfolio and put there a Google+ button. The page is
I am trying to put share buttons into a website. I found a good
I'm trying to put a Twitter share link in an email. Because this is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.