How-To Add Javascript and CSS Files
Back to current version Restore this version

Path of Javascript and CSS Files#

The files have to be saved in the library. The path there for Javascript files is

library/KnowWEExtensions/scripts/javascriptfile.js

For CSS files its:

library/KnowWEExtensions/css/cssfile.css

Example#

	<extension plugin-id="KnowWEExtensionPoints" point-id="TagHandler"
		id="ObjectInfoTagHandler">
		<parameter id="class" value="de.knowwe.core.taghandler.ObjectInfoTagHandler" />
		<parameter id="name" value="ObjectInfoTagHandler" />
		<parameter id="description" value="TagHandler ObjectInfoTagHandler" />
		<parameter id="version" value="1.0" />
		<parameter id="priority" value="5" />
		<parameter id="css" value="jqautocomplete.css" />
		<parameter id="script" value="KnowWE-Plugin-Core.js" />
	</extension>