The Tree of Widsdom

智慧の樹

SpanButton

^do( SpanButton, title, href, [Bootstrap class] )^

Type: Macro

Purpose: Adds an inline Bootstrap button

The Button macro inserts an inline button that displays title and that links to href. Arg3 is the Bootstrap Button Class. This defaults to default but you can override by supplying an argument. Options are: primary, success, info, warning, danger, and link.

Hover below to reveal BoxPress code

<a class="btn btn-^if($3)^^value($3)^^else^default^endIf^ blog-btn" href="$2" target="_blank" role="button">$1</a> 

SpanButton sample

This is the markup that is rendered below

Default SpanButton ^do(SpanButton, "Bootstrap Downloads", "http://getbootstrap.com/getting-started/")^ and nice to meet you.
Primary SpanButton ^do(SpanButton, "Bootstrap Downloads", "http://getbootstrap.com/getting-started/", "primary")^ and nice to meet you.
Danger SpanButton ^do(SpanButton, "Bootstrap Downloads", "http://getbootstrap.com/getting-started/", "danger")^ and nice to meet you.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Default SpanButton Bootstrap Downloads  and nice to meet you.

Primary SpanButton Bootstrap Downloads  and nice to meet you.

Danger SpanButton Bootstrap Downloads  and nice to meet you.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.