Categories

.externalcontentGadgetOtherbuttons()

Categories: UI

.externalcontentGadgetOtherbuttons( [ options ] )

Subclass: de_epages

Inherit: (Subclass: de_epages) .widget()

Plugin: de_epages.externalcontent.gadget.otherbuttons

Description: Create a digg, delicious, StumbleUpon, Technorati or MrWong button.

  • .externalcontentGadgetOtherbuttons( [ options ] )

    version added: 6.15.0

    options   A map of additional options to pass to the method.

The Widget inserts a digg, delicios, StumbleUpon, Technorati or MrWong button into the target element on which the widget is executed on.

  • The Widget is executed on a pageelement and is called with passing the chosen services. In this example the digg and the MrWong button is implemented.

    Code:
    
    jQuery.ready({
    		plugin: [ 'de_epages.externalcontent.gadget.otherbuttons' ],
    		DOM:    true
    	}, function($){
    		var widget = de_epages('<div>').externalcontentGadgetOtherbuttons({
    			services : ["digg","mrwong"]
    		});
    });
    
    
  • services

    version added: 6.15.0

    Specifies which Social Web buttons should be shown. Values: 'digg', 'delicious', 'stumbleupon', 'technorati', 'mrwong'

  • destroy

    • .externatcontentGadgetOtherbuttons('destroy')

      version added: 6.15.0

    This method removes the container on which the Social Web buttons plugin has been appended to.