MEMBUAT MENU PADA INTERNET EXPLORER DENGAN ICON DI SEBELAH KIRI (SAMA DENGAN PROGRAM MICROSOFT OFFICE)
COPY KODE DI BAWAH INI! JALANKAN PADA INTERNET EXPLORER
HAPUS TAG BR/
bgColor=#ffffff leftMargin=0 topMargin=0 onload=fnInit()>
onclick=fnSwitchMenu() onmouseout=fnHighlight()>
Mouse Capture Menu Sample #3
This sample uses the mouse capture functionality of Microsoft® Internet
Explorer 5 and later. The menu at the top of the page will use the
setCapture method when a menu item is opened. While the menu has mouse
capture, all onclick, onmouseover, and onmouseout events
will go through the functions defined on the menu for these events.
When any menu item is clicked, or when any object outside the menu is
clicked, the releaseCapture method will be used to remove mouse capture
from the menu.
target=_top>2005 Microsoft Corporation. All rights reserved. Terms of use.
Tidak ada komentar:
Posting Komentar