WindowsXP-SP1/admin/pchealth/helpctr/content/html_unittests/bitmaps.htm

49 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2001-01-01 00:00:00 +01:00
<HTML XMLNS:helpcenter>
<HEAD>
<!--
Copyright (c) 2000 Microsoft Corporation
-->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=windows-1252">
<META HTTP-EQUIV=PICS-Label CONTENT='(PICS-1.1 "http://www.rsac.org/ratingsv01.html" l comment "RSACi North America Server" by "inet@microsoft.com" r (n 0 s 0 v 0 l 0))'>
<META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
<OBJECT ID=pchealth classid=CLSID:FC7D9E02-3F9E-11d3-93C0-00C04F72DAF7></OBJECT>
<LINK ID=Stylesheet_Ref1 href="hcp://system/css/Behaviors.css" rel=STYLESHEET type=text/css>
</HEAD>
<BODY SCROLL=AUTO style="background-color: blue">
<helpcenter:bitmap id=idImage style="border: 1pt solid; width: 48px; height: 48px; cursor: hand"
SRCNORMAL="hcp://system/images/48x48/desktop_icon_01.bmp"
SRCMOUSEOVER="hcp://system/images/48x48/desktop_icon_02.bmp"
SRCMOUSEDOWN="hcp://system/images/48x48/desktop_icon_03.bmp"></helpcenter:bitmap>
<BUTTON onclick="next();">Next color</BUTTON>
</BODY>
<SCRIPT>
//debugger;
var i = 0;
var images = [ "hcp://system/images/48x48/desktop_icon_01.bmp" ,
"hcp://system/images/48x48/desktop_icon_02.bmp" ,
"hcp://system/images/48x48/desktop_icon_03.bmp" ,
"hcp://system/images/48x48/desktop_icon_04.bmp" ];
function next()
{
idImage.setAttribute( "srcNormal", images[++i % 4], 0 );
}
</SCRIPT>
</HTML>