65.9K
CodeProject is changing. Read more.
Home

Digg, Delicious & Co in a JS popup Menu

starIconstarIconstarIcon
emptyStarIcon
starIcon
emptyStarIcon

3.37/5 (5 votes)

Jan 8, 2007

viewsIcon

33979

downloadIcon

491

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:
    <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.