For this specific example:
Any ideas to reduce the html code, by using more css ?
stefanoni wrote:For this specific example:
Any ideas to reduce the html code, by using more css ?
var JSMethTagBut = JSfrm.getMethod('onActTagBut') // a One-line method, witch calls the realy big one
for ( iDay = 1; iDay <= nMaxDayOfMonth; iDay++) {
o = JSfrm.newButton(
'?',
(nRefPosTagX + ( (iTag-1) * nSchubTagX)),
nAktY, 15, 20,
JSMethTagBut
)
o.styleClass = 'gigDooTagMust'
o.name = 'tp' + utils.stringRight('0' + iDay, 2) + JsFsTerm.id
o.formIndex = 1
o.rolloverCursor = SM_CURSOR.HAND_CURSOR
o.background = globals.gCo['00']
o['text'] = ''
o['toolTipText'] = ''
}
Users browsing this forum: No registered users and 7 guests