Plugin Name: Hyves Tip Plugin Description: This simple plug-in adds the blog post to your hyves profile. Hyves is the largest social network in The Netherlands. Plugin URL: Author: deleted1523603 Author URL: https://www.intensedebate.com/people/deleted1523603 Date Added: October 26th, 2009 Code: // Plug-in by Ruben Bos // Company blog: blog.mangrove.nl // Contact: ruben@mangrove.nl var id_hyvestip_posts_plugin = {}; id_hyvestip_posts_plugin.insert_hyves_button = function() { // Declare values var container = document.getElementById('idc-container'); var hyvesUrl = "http://www.hyves.nl/hyvesconnect/smartbutton?type=11&category=12&rating=5&body="; var hyvesCont = document.createElement("div"); var hyvesLink = document.createElement("a"); // Set classname for container hyvesCont.className = "idc-hyves-tip"; hyvesCont.style.height = "32px"; hyvesCont.style.float = "right"; // Add location for link // Set background and styles hyvesLink.href = hyvesUrl + document.location.href + "&title=" + document.title; hyvesLink.target = "blank"; hyvesLink.innerHTML = "Plaats als tip op Hyves!"; hyvesLink.style.background = 'url(http://cache.hyves-static.net/images/logo/app/icon_24.png) no-repeat left'; hyvesLink.style.padding = "10px 0 10px 28px !important"; // hierarchy of elements hyvesCont.appendChild(hyvesLink); container.insertBefore( hyvesCont, container.firstChild ); }; // Insert to IntenseDebate id_add_action('idcomments_init', id_hyvestip_posts_plugin.insert_hyves_button); CSS: #idc-container .idc-hyves-tip a { display: block; line-height: 32px; padding: 0 0 0 30px !important; }