background-color:#D1D1D1;\r
}\r
\r
-\r
+.DHTMLSuite_menuItem_textContent\r
+{\r
+ border-bottom-style: none !important;\r
+ background-color: inherit !important;\r
+ color: inherit !important;\r
+}\r
background-color:#6A8CCB; /* background color for the separator - blue */\r
}\r
\r
-\r
+.DHTMLSuite_menuItem_textContent\r
+{\r
+ border-bottom-style: none !important;\r
+ background-color: inherit !important;\r
+ color: inherit !important;\r
+}\r
}else{ \r
/* Add events */\r
var tmpVar = this.objectIndex/1;\r
- this.divElement.onclick = function(e) { DHTMLSuite.variableStorage.arrayOfDhtmlSuiteObjects[tmpVar].__navigate(e); }\r
+ //this.divElement.onclick = function(e) { DHTMLSuite.variableStorage.arrayOfDhtmlSuiteObjects[tmpVar].__navigate(e); }\r
this.divElement.onmousedown = this.__clickMenuItem; // on mouse down effect\r
this.divElement.onmouseup = this.__rolloverMenuItem; // on mouse up effect\r
this.divElement.onmouseover = this.__rolloverMenuItem; // mouse over effect\r
parentEl.style.backgroundPosition = 'left center'; \r
}\r
if(this.modelItemRef.itemText){\r
- var div = document.createElement('DIV');\r
+ var div;\r
+ if( this.modelItemRef.url )\r
+ {\r
+ div = document.createElement('a');\r
+ div.href = this.modelItemRef.url;\r
+ div.target = this.modelItemRef.frameTarget;\r
+ div.style.display = 'block';\r
+ }\r
+ else\r
+ div = document.createElement('div');\r
+ \r
div.className = 'DHTMLSuite_textContent';\r
div.innerHTML = this.modelItemRef.itemText; \r
div.className = this.cssPrefix + 'menuItem_textContent';\r