two_column_layout.js

Summary
two_column_layout.js
bbop.widget.display.two_column_layoutReusable object to create a two-column layout.
Functions
two_column_layoutProduce a div containing a CSS hardwired two-column layout.

bbop.widget.display.two_column_layout

Reusable object to create a two-column layout.

Subclass of bbop.html.tag.

Summary
Functions
two_column_layoutProduce a div containing a CSS hardwired two-column layout.

Functions

two_column_layout

bbop.widget.display.two_column_layout = function (col1,
col2)

Produce a div containing a CSS hardwired two-column layout.  These are currently hardwired to:

'class': 'twocol-leftcolumn', 'style': 'margin-top: -15px;'
'class': 'twocol-content', 'style': 'margin-left: 26em; margin-top: -15px;'

Parameters

col1the string or bbop.html object for the left column
col2the string or bbop.html object for the right column

Returns

bbop.html.tag subclass

bbop.widget.display.two_column_layout = function (col1,
col2)
Produce a div containing a CSS hardwired two-column layout.
Right now contains bbop.html.tag, but all html producing functions should go in here somewhere.
Close