Commit 50c05fbc authored by Ad Schellevis's avatar Ad Schellevis

(legacy) add showhelp to default header for help icons

parent f5d8b46e
...@@ -97,6 +97,13 @@ $pagetitle = gentitle( $pgtitle ); ...@@ -97,6 +97,13 @@ $pagetitle = gentitle( $pgtitle );
$("#mainmenu").find('[href="#'+$(this).attr('id')+'"]').remove(); $("#mainmenu").find('[href="#'+$(this).attr('id')+'"]').remove();
} }
}); });
// link showhelp class behavior
$("a[class='showhelp']").click(function (event) {
$("*[for='" + $(this).attr('id') + "']").toggleClass("hidden show");
event.preventDefault();
});
}); });
//]]> //]]>
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment