ForgeComponents
en

Components

j-ClickBox

jComponent 20 · jcomponent@20 component Example loaded with jComponent 20

This component is optimized for SEO. It reads all links and creates a clickable box. The component automatically highlight a value according to the URL param.


Configuration:

  • param {String} name of URL param for selecting value

Use it with <ui-component name="clickbox">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

example.html
<div style="padding:50px;width:300px">
	<ui-component name="clickbox" config="param:manufacturer">
		<a href="?manufacturer=">All manufacturers</a>
		<a href="?manufacturer=apple">Apple</a>
		<a href="?manufacturer=google">Google</a>
		<a href="?manufacturer=microsoft">Microsoft</a>
		<a href="?manufacturer=ibm">IBM</a>
		<a href="?manufacturer=dell">Dell</a>
		<a href="?manufacturer=toshiba">Toshiba</a>
	</ui-component>
</div>