CrowBar (inline)

Part of: Template Actions

Versions

Download also includes:

CrowBar (item), CrowBar (page)

Pro Only

Description

By default, Freeway wraps any text within a DIV with a container tag, such as a P. Even Markup Items get this treatment, so it is difficult to add a block of code inline that will generate a DIV or UL or another block-level tag without the result becoming an invalid mess.

CrowBar is an enhanced version of the Markup Item which works around this issue.

  • Insert the action inline at the beginning or end of a run of text to move your code outside of the P tag.

  • If you insert the action within a run of text, your code will be output within the surrounding text, just like a normal Markup Item.

  • If you insert the action as the only character in a line of text, the surrounding P tag will not be output, therefore your code will have to generate a valid HTML element to contain its output.

  Register or log in to add tags

Register or log in to view or add comments.

FreewayTalk

Join the friendliest community on the Net at FreewayTalk. Ask and answer questions about Softpress Freeway, or just gather around the virtual water cooler!