MISView.js 827 B

12345678910111213141516171819202122232425262728293031323334
  1. function MISView() {
  2. this.name = "MISView";
  3. this.__construct = function __construct() {
  4. }
  5. this.setComp = function setComp(p_prop,p_value) {
  6. Cookie.create(MISUsermenu.__toString()+"_"+p_prop,p_value);
  7. }
  8. this.getComp = function getComp(p_prop) {
  9. return Cookie.read(MISUsermenu.__toString()+"_"+p_prop);
  10. }
  11. this.__toString = function __toString() {
  12. return MISUsermenu.name;
  13. }
  14. this.setNavContainer = function setNavContainer(p_html) {
  15. Browser.getElementById('navContainer').innerHTML = p_html;
  16. }
  17. this.setSectionMenu = function setSectionMenu(p_html) {
  18. Browser.getElementById('sectionMenuScrollContainer').innerHTML = p_html;
  19. }
  20. this.setContentMenu = function setContentMenu(p_html) {
  21. Browser.getElementById('contentMenuScrollContainer').innerHTML = p_html;
  22. }
  23. }
  24. var MISView = new MISView();