Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 29faf148

Von Thomas Heck vor mehr als 12 Jahren hinzugefügt

  • ID 29faf148b91464aa9923b565602b4b25e0045900
  • Vorgänger b1c23196
  • Nachfolger e6d5baa4

JS-Menu: Bei Mittel-Klick Link im neuen Fenster öffnen(Ticket #1921)

Unterschiede anzeigen:

css/kivitendo/dhtmlsuite/menu-item.css
155 155
	background-color:#D1D1D1;
156 156
}
157 157

  
158

  
158
.DHTMLSuite_menuItem_textContent
159
{
160
  border-bottom-style: none !important;
161
  background-color: inherit !important;
162
  color: inherit !important;
163
}
css/lx-office-erp/dhtmlsuite/menu-item.css
181 181
	background-color:#6A8CCB;	/* background color for the separator - blue */
182 182
}
183 183

  
184

  
184
.DHTMLSuite_menuItem_textContent
185
{
186
  border-bottom-style: none !important;
187
  background-color: inherit !important;
188
  color: inherit !important;
189
}
js/dhtmlsuite/menu-for-applications.js
1187 1187
		}else{		
1188 1188
			/* Add events */
1189 1189
			var tmpVar = this.objectIndex/1;
1190
			this.divElement.onclick = function(e) { DHTMLSuite.variableStorage.arrayOfDhtmlSuiteObjects[tmpVar].__navigate(e); }
1190
			//this.divElement.onclick = function(e) { DHTMLSuite.variableStorage.arrayOfDhtmlSuiteObjects[tmpVar].__navigate(e); }
1191 1191
			this.divElement.onmousedown = this.__clickMenuItem;			// on mouse down effect
1192 1192
			this.divElement.onmouseup = this.__rolloverMenuItem;		// on mouse up effect
1193 1193
			this.divElement.onmouseover = this.__rolloverMenuItem;		// mouse over effect
......
1264 1264
			parentEl.style.backgroundPosition = 'left center';	
1265 1265
		}
1266 1266
		if(this.modelItemRef.itemText){
1267
			var div = document.createElement('DIV');
1267
		  var div;
1268
		  if( this.modelItemRef.url )
1269
		  {
1270
			  div = document.createElement('a');
1271
			  div.href = this.modelItemRef.url;
1272
			  div.target = this.modelItemRef.frameTarget;
1273
			  div.style.display = 'block';
1274
			}
1275
			else
1276
			  div = document.createElement('div');
1277
			  
1268 1278
			div.className = 'DHTMLSuite_textContent';
1269 1279
			div.innerHTML = this.modelItemRef.itemText;	
1270 1280
			div.className = this.cssPrefix + 'menuItem_textContent';

Auch abrufbar als: Unified diff