I'm trying to use the slider control on a page being served by the HS webserver and it just does not work.
Here's the Microsoft example HTML:
I have placed slider.htc in the same directory as this HTML file.
Now, if I browse to the above file directly from IE, it works properly. But, if I setup a link in HS to this page, all that gets displayed is:
Slider Behavior
Close This Sample
--------------------------------------------------------------------------
--------------------------------------------------------------------------
© 2003 Microsoft Corporation. All rights reserved. Terms of use.
Why does the HS webserver not serve up the .htc file?
Am I doing something wrong?
Here's the Microsoft example HTML:
HTML Code:
<HTML xmlns:control> <HEAD> <TITLE>Behavior Library: Slider</TITLE> <STYLE> @media all { control\:slider { behavior:url(slider.htc); } } H1 { font: bold 18pt verdana; color: navy } A:link { color:#003399; text-decoration:none; } A:visited { color:#6699CC; text-decoration:none; } A:hover { text-decoration:underline; } </STYLE> </HEAD> <BODY BGCOLOR="#ffffff" TEXT="#000000" LINK="#000066" VLINK="#666666"> <!--TOOLBAR_START--><!--TOOLBAR_EXEMPT--><!--TOOLBAR_END--> <H1>Slider Behavior</H1> <P> <FONT FACE="verdana,arial,helvetica" SIZE=1> <A href="#" onclick='self.close()'><IMG ALIGN="middle" SRC="demo.gif" WIDTH="16" HEIGHT="16" BORDER="0" ALT="Click to Close Sample"></A> <A href="#" onclick='self.close()'>Close This Sample</A> </FONT><HR> <control:slider ID="oSlider" STYLE="sl--orientation:vertical"> </control:slider> <control:slider ID="oSlider" STYLE="position:relative; top:-150; left:50"> </control:slider> <P> <HR> <FONT FACE="MS SANS SERIF" SIZE="1" COLOR="BLACK"> © <A HREF="http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/info/cpyright.htm" TARGET="_top">2003 Microsoft Corporation. All rights reserved. Terms of use</A>. </FONT> <P> </BODY> </HTML>
Now, if I browse to the above file directly from IE, it works properly. But, if I setup a link in HS to this page, all that gets displayed is:
Slider Behavior
Close This Sample
--------------------------------------------------------------------------
--------------------------------------------------------------------------
© 2003 Microsoft Corporation. All rights reserved. Terms of use.
Why does the HS webserver not serve up the .htc file?
Am I doing something wrong?