Adding a facebook like-button for Geeklog

If you have more than one web site and need to attract visitors between your sites this is a good way to do it. If you want an example of what it does, check the button in the lower left corner of your browser. Basically it's a button that will popup a list of sites, in this case it points to different projects and sites related to EnkelAdress.

Minimum coding

All you need to do is download a zip file, extract, make some minor modifications and upload to one of your servers. All code is pure javascript and html.

Download and edit


  • Download zip archive here.
  • Extract content to a folder of your choosing.
  • Edit, use or replace the three images found in the archive.
  • Open ea_ring.js in a text editor of your own choice
  • The script file has two sections marked with
    /*  Modify xxxx ->
    These sections indicates values that you can replace with your own.
    • set this variable to where the button images will be placed
    • Indicates the filename without path of the file that will represent the button in normal/unpressed state
    • Tells the filename of the image that will be shown when you hover the button with your mouse.
    • This tells the filename of the "close menu" icon.
    addSite('xxxx', 'xxxx'); 
    • Remove the existing addSite calls and add your own in the following manner,
      addSite(URL, TITLE)
  • Upload the files, and remember to upload the images so their path match the imagePathUrl and imageXXXFilename variables


Edit your sites

In the web page that you want to display the button on, navigate the source to somewhere between the body tags. Add this code:

where URL represent the full url to where ea_ring.js is uploaded.


And there you have it.


 Facebook Signin using the PHP SDK

Have you setup a facebook app and downloaded their sdk, and don\'t know where to go from there?

 Facebook PHP SDK login problem

Have you integrated a facebook login to your site, or are you planning to? There\'s a small bug involving the sign in process that can make your life miserable unless you know how to get around it. Here\'s one possible solution.

 Internet Explorer 9, JScript Error c00c023f

Ajax and Error c00c023f

After updating to Internet Explorer 9, a previously working ajax driven site of mine stopped working sporadically.

In this short article you will see how to reproduce, and how to solve the problem.

 Facebook Like button shows blank, solution

The \"EnkelAdress on Facebook\" button displayed just fine for a couple of days and then suddenly it showed up blank, no matter how many times trying to copy the code provided by Facebook. After quite some time digging deep in the information jungle we found the solution.

Page 1 / 2

 Thumbs Up Immerse VR Headset

This Immerse headset from ThumbsUp offers both positive and negative sides.

 Know your limits: Web Design

You might have the best app ever created, or you might have the user friendliest web page in the world. You might even have the most useful piece of shareware ever made and still not making any money.

 DroidXplorer big in China?

According to an email DroidXplorer will be preinstalled on devices, and be featured on a set of app stores. For free.

 QuickTip: PayPal IPN - Complex Pass Through Data

Send complex data in the custom field that you use to match a payment with a customer, order or whatever you need.

 Would this interest you?

Page 1 / 11