...
Syntax to register the header and footer is as following.follows:
Code Block | ||
---|---|---|
| ||
CLHFR.registerContent("<LIB_FRAMEWORK>","header", "<HTML_HEADER_CONTENT>"); CLHFR.registerContent("<LIB_FRAMEWORK>","footer","<HTML_FOOTER_CONTENT>"); |
Assuming the file name is iportal.headerandfooter.js, the code to register the header and footer is as follows:
Code Block | ||
---|---|---|
| ||
CLHFR.registerContent("jqui","header","<p>Welcome to online Banking through iportal</p>"); CLHFR.registerContent("jqui","footer"," <table> <tr> <td> ©copyright 2014</td><td>Site best viewed at 1024 x 768 resolution </td> </tr> </table>"); |
...