Delicious Juice Extension

Extension Information
Extension File Name: 
delicious.js
Author: 
Richard Wallis
Extension Class Name: 
deliciousJuice
Function Parameters: 

deliciousJuice(ju,src,text,defPanel,launchType,insert1,insert2)

  •  ju - instance of juice
  • src - url to logo to display in selection panel
  • text - text to display in selection panel
  • launchType - type of widow to launch "new"(default) | "overlay" | "iframe" | "current" - optional
  • insert1 - option for launch window - optional
  • insert2 - option for launch window - optional
Dependencies: 

Extension is dependent on a Juice Meta definition named "author" and one named "title". This extension will not display in a selection panel if both of these values are not present.

Example Code: 
new deliciousJuice( juice,
'http://talis-rjw.s3.amazonaws.com/arielx/images/Delicious.jpg',
'Bookmark with Delicious'
);

Extension to launch a window to the del.cio.us bookmaking service passing on on meta values of author and/or title held on page. Can be launched from either text or image based selection panels.

Upon construction this extension inserts the passed icon & text in to the relevant selection panels with css classes set to 'juiceXInactiveIcon' and 'juiceXInactiveText'. Once initialized thes are changed to 'juiceXActiveIcon' and 'juiceXActiveText', and they become clickable. Once clicked, a window of the passed type is launched to display the site.

AttachmentSize
delicious.js.txt1.39 KB