20.01.2013 Views

Universitas Sumatera - USU Institutional Repository - Universitas ...

Universitas Sumatera - USU Institutional Repository - Universitas ...

Universitas Sumatera - USU Institutional Repository - Universitas ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

menuCount);<br />

l.style.pixelTop = top;<br />

l.style.pixelLeft = left;<br />

if( menu.menuItemHAlign != 'left' ) {<br />

var shim = FIND("menuItemShim" +<br />

shim[0].style.pixelWidth =<br />

menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;<br />

shim[1].style.pixelWidth =<br />

menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;<br />

shim[0].style.width =<br />

shim[0].style.pixelWidth + 'px';<br />

shim[1].style.width =<br />

shim[1].style.pixelWidth + 'px';<br />

}<br />

}<br />

if( menu.vertical ) top = top +<br />

menu.menuItemHeight+menu.menuItemBorder+menu.menuItemSpacing;<br />

else left = left +<br />

menu.menuItemWidth+menu.menuItemBorder+menu.menuItemSpacing;<br />

l.style.fontSize = menu.fontSize + 'px';<br />

l.style.backgroundColor = menu.menuItemBgColor;<br />

l.style.visibility = "inherit";<br />

l.saveColor = menu.menuItemBgColor;<br />

l.menuHiliteBgColor = menu.menuHiliteBgColor;<br />

l.mmaction = container.menus[x].actions[i];<br />

l.hilite = FIND("menuItemHilite" + menuCount);<br />

l.focusItem = FIND("focusItem" + x);<br />

l.focusItem.style.pixelTop = -30;<br />

l.focusItem.style.top = '-30px';<br />

var childItem = FIND("childMenu" + menuCount);<br />

if (childItem) {<br />

l.childMenu =<br />

container.menus[x].items[i].menuLayer;<br />

childItem.style.pixelLeft =<br />

menu.menuItemWidth -11;<br />

childItem.style.left = childItem.style.pixelLeft +<br />

'px';<br />

childItem.style.pixelTop =<br />

(menu.menuItemHeight /2) -4;<br />

childItem.style.top = childItem.style.pixelTop +<br />

'px';<br />

l.Menu.childMenus[l.Menu.childMenus.length]<br />

= l.childMenu;<br />

}<br />

l.style.cursor = "hand";<br />

menuCount++;<br />

}<br />

if( menu.vertical ) {<br />

menu.menuHeight = top-1-menu.menuItemSpacing;<br />

<strong>Universitas</strong> <strong>Sumatera</strong> Utara

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!