AddThis Buttons aren't appearing, only one link does appear but doesn't work.

blahblahgirl Jul 08, 2012 04:34PM EDT

I don't have a link yet, it's not on a server, but for the website I have a table, and within this table I put the addThis code below some text. Not only does it not appear, but it only shows a single link, and that link doesn't work. I am very rushed to finish this website, so I hope this problem can be fixed.

There is no font styling after the addthis code, and there is only HTML after it. I have it so the HTML section is straight on top of the javascript section of the addthis code, just the way that it was posted up.

I'm sorry if this isn't clear, but it's the only thing I can give you. Maybe it's because the site isn't on a server yet? I dunno, but I've noticed people are having similar problems, but this one is different because not all the links even appear.

Up 1 Rated Down
Paul (AddThis Happiness Specialist) Jul 11, 2012 10:56AM EDT
You're probably viewing your pages by opening them as local files rather than loading them from a web server. So instead of the URL of the page in your browser starting with http:// it starts with C:\ or file://

Here's what the AddThis buttons look like when viewed via http:// - http://i.imgur.com/IDGUD.png

And here's the same file viewed using file:// - http://i.imgur.com/gpCco.png

We currently are using protocol-free URLs in our code - ones that start with // instead of http:// or https:// - to make sure our SSL implementations are cross compatible without extra work. However, if you're loading the test page with the file:// protocol it causes the CSS and other JavaScript files not to load, since it's looking for them on your local machine rather than our web servers.

I've submitted a ticket to our developers to fix this for people previewing pages using their file system rather than a web server, but until they can get that implemented you should either understand that the buttons won't show up if using the file:// protocol or use a web server in order to test how your sites display in browsers.

This question is closed to new answers.

Still need help?


General Topics

 

Developers