Click here to Skip to main content
15,891,529 members
Articles / Programming Languages / Javascript

Digg, Delicious & Co in a JS popup Menu

Rate me:
Please Sign up or sign in to vote.
3.37/5 (5 votes)
14 Jan 2007 33.7K   491   47   1
A JavaScript popup menu with the Delicious&Co links to bookmark your page

Click to see it live

(Click image to see the script live on my website.)

Introduction

There are many social bookmark services like Digg and Delicious out there. So many that some pages show an annoying collection of icons and links. Here's how you can avoid that.

Background

This pop-up menu is done by a single line of JavaScript. It auto-detects the URL and the page name, it detects the browser and includes a "browser bookmark" link, if you're using Internet Explorer. And it's free. Just steal it. ;-)

Using the Code

  1. Unpack the archive somewhere in your website. Move the bookmark_icons directory if you want.
  2. Configure the script. Change the "sb_iconpath" path and the "sb_text" text if you like. Change the support service at the end of the file if you like.
  3. Include it in any page you like with this:
    HTML
    <script language=javascript src="bookmark.js"></script>

History

  • 14th January, 2007: First release

License

This article has no explicit license attached to it, but may contain usage terms in the article text or the download files themselves. If in doubt, please contact the author via the discussion board below.
A list of licenses authors might use can be found here.


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 1 Pin
5do819-Nov-09 17:25
5do819-Nov-09 17:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.