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

 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.

 PayPal IPN - Take control over your incoming payments!

I'm sure you've heard all about the simplicity of using a payment processor service to sell your items online, but don't miss out on the ones who prefer using Paypal. App Review Index

Having your app reviewed is a great way to boost your downloads! Read more on how QualityApp can help you find your mentions..

 DroidStop Android Apps

Despite popular belief, creating mobile apps and games is NOT the quick way to the millions!

 Would this interest you?

Page 2 / 11