When defining the front end UI - various images and text will be dynamically updated.
UI behaviour will change based on the person viewing the web-page.
This behaviour is controlled by rules defined via JavaScript driven by the NBA strategy.
It is expected that site developers would create their own versions of these functions to suite their sites needs.
These JavaScript function place holders are described below,
Placeholder used to define a JavaScript function to display multiple dynamic messages.
See the example below,
function OnlineMsg(index, value) {
var inboxMsgLine="";
inboxMsgLine += '\
<div class="pure-u-1 pure-u-md-1-3">\
<div class="pricing-table pricing-table-free"> \
<div class="pricing-table-header">\
<h2>' + value.propname + '</h2>\
<span class="pricing-table-price">\
$' + value.propvalue +'\
</span>\
</div>\
<ul class="pricing-table-list">\
<li>' + value.description + '</li>\
</ul>\
<button class="button-choose pure-button">Choose</button>\
</div>\
</div>';
$(".pricing-tables.pure-g").append(inboxMsgLine);
}
Placeholder used to define a JavaScript function to display multiple dynamic messages with an image on the side.
See the example below,
TBC