home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 79
/
MINAMI79.iso
/
Extra
/
MPSetup.exe
/
1033
/
RCDATA
/
CABINET
/
wmploc.DLL
/
HTML
/
CLOSEBUTTON.HTC
< prev
next >
Wrap
Text File
|
2002-12-14
|
1KB
|
33 lines
<PUBLIC:COMPONENT lightWeight=true>
<PUBLIC:ATTACH EVENT="oncontentready" ONEVENT="load()" />
<PUBLIC:ATTACH EVENT="onmouseout" ONEVENT="mouseout()" />
<PUBLIC:ATTACH EVENT="onmouseover" ONEVENT="mousemove()" />
<PUBLIC:ATTACH EVENT="onmousedown" ONEVENT="mousedown()" />
<PUBLIC:ATTACH EVENT="onmouseup" ONEVENT="mouseup()" />
<PUBLIC:ATTACH EVENT="onfocus" ONEVENT="mousemove()" />
<PUBLIC:ATTACH EVENT="onblur" ONEVENT="mouseout()" />
<PUBLIC:PROPERTY NAME="direction" />
<SCRIPT LANGUAGE="JScript">
var sNormal = 'close-normal.gif'
var sOver = 'close-hover.gif'
var sClick = 'close-down.gif'
var sId, iDir;
function load()
{
sId = element.uniqueID + 'But';
element.href = element.alt;
element.innerHTML = '<IMG id="' + sId + '" border=0 title="' + element.alt + '" src="images\\' + sNormal + '">';
}
function setImage(sImg) { element.document.all(sId).src = 'images\\' + sImg; }
function mouseout() { setImage(sNormal); }
function mousemove() { setImage(sOver); }
function mousedown() { setImage(sClick); }
function mouseup() { setImage(sNormal); }
</SCRIPT>
</PUBLIC:COMPONENT>