Aus WIKI LAUER-FISCHER GmbH
68 Bytes entfernt,
11:32, 27. Mär. 2018
jQuery(document).ready(function () { // Delete WINAPO SQL from Addon-Produkte and insert a new link after Addon-Produkte. // That way WINAPO SQL looks like big link and is not affected by slideToggle() on Addon-Produkte. jQuery("#n-WINAPO-SQL").detach() jQuery("#p-AddOn-Produkte").css({"margin-bottom": "2px"}) jQuery("#p-AddOn-Produkte").after("<a href=\"/Kategorie:WINAPO_SQL\" class=\"portlet generated-sidebar\"><h3>WINAPO SQL</h3></a>") jQuery("#p-AddOn-Produkte + a > h3").css({ "margin-bottom": "12px" })
// Register slideToggle() on each category.
jQuery("div.generated-sidebar.portlet > h3").each(makeOnClick)})
// Registers the slideToggle() function on this and sets up the cookie