Personal tools

Log in

Changes

From All n One's bxp software Wixi

Jump to: navigation, search

Database Floating Divs

191 bytes added, 15:48, 17 April 2012
no edit summary
Main Menu > Database Management > Primary Details > Campaign - Edit > Choose the campaign > Instructions > and in the Dial Out Instructions box
<syntaxhighlight lang="javascript">
<div id='bottomLeft'>whatever you like</div>
</syntaxhighlight>
 
The words "whatever you like" will now float on that page when in a record. This does not appear unless entering a record or looking at an existing record.
To put an image in
<syntaxhighlight lang="javascript">
<div id='bottomLeft'><img src=http://NameAndLocationOfYourFile.image /></</div>
</syntaxhighlight>
You can also modify the style of the floating div, in the JavaScript "Opening code execution" box.
<syntaxhighlight lang="javascript">
document.getElementById('bottomLeft').style.width = 955 px;
document.getElementById('bottomLeft').style.border = solid 1px #e1e1e1;
document.getElementById('bottomLeft').style.background = #ffdab9;
</syntaxhighlight>
 
[[Category:JavaScript]]
7,528
edits