Discussion:
How to control color of slider control?
(too old to reply)
Mike Litzkow
2003-12-23 19:58:08 UTC
Permalink
I am using the slider control F08DF954-8592-11D1-B16A-
00C0F0283628 aka Microsoft Slider Control 6.0 (SP4) in a
web page. I want to change the color of the control to
better match my page's color scheme. Can I do this with
a <PARAM> tag? Is there some other way I can do it?

thanks,
-- mike
Wei-Dong Xu [MSFT]
2003-12-24 09:26:58 UTC
Permalink
Hi Mike,

Thank you for posting in MSDN managed newsgroup!

From my understanding to this issue, you are going to add one slider control in your page with the customized color.

So far as I know, the slider control (F08DF954-8592-11D1-B16A-00C0F0283628) doesn't support the customization of control color. I'd suggest you
may use the slider Behavior to implement one Slider in the web page. You can obtain more information regarding the html behavior from the msdn web
site.
Implementing DHTML Behavior Script Components
http://msdn.microsoft.com/library/en-us/script56/html/letimpldhtml.asp?frame=true

With the behaviour, you can specify the color for this control according to your scenario. There is more information regarding this issue in the MSDN
web site. Please go to:
slider Behavior
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/behaviors/library/slider/slider.asp

Furthermore, I'd suggest one demo will provide some assistance for you on the usage of the slider behaviour. Please go to:
Slider Behavior
http://msdn.microsoft.com/downloads/samples/internet/default.asp?url=/downloads/samples/internet/behaviors/library/slider/default.asp

Please feel free to let me know if you have any further questions.

Does this answer your question? Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Mike Litzkow
2003-12-26 18:03:43 UTC
Permalink
Wei-Dong,

Yes, this seems to be what I need. However when I
downloaded the example code and unzipped it, it failed to
work. I downloaded "slider.exe" from
http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/behaviors/library/slider/slider.asp
but when I double-click on "slider.htm" there is a page
with no sliders present. However, when I go to the
library and look at the example on Microsoft's site at
http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/behaviors/library/slider/slider.asp
and click on "Show Example", then "Show Me" I get a page
with two sliders present. Can you tell me why does this
not work when I have the code loaded on my own machine?

-- mike
-----Original Message-----
Hi Mike,
Thank you for posting in MSDN managed newsgroup!
From my understanding to this issue, you are going to
add one slider control in your page with the customized
color.
So far as I know, the slider control (F08DF954-8592-11D1-
B16A-00C0F0283628) doesn't support the customization of
control color. I'd suggest you
may use the slider Behavior to implement one Slider in
the web page. You can obtain more information regarding
the html behavior from the msdn web
site.
Implementing DHTML Behavior Script Components
http://msdn.microsoft.com/library/en-
us/script56/html/letimpldhtml.asp?frame=true
With the behaviour, you can specify the color for this
control according to your scenario. There is more
information regarding this issue in the MSDN
slider Behavior
http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/behaviors/library/slider/slider.asp
Furthermore, I'd suggest one demo will provide some
assistance for you on the usage of the slider behaviour.
Slider Behavior
http://msdn.microsoft.com/downloads/samples/internet/defa
ult.asp?
url=/downloads/samples/internet/behaviors/library/slider/d
efault.asp
Please feel free to let me know if you have any further
questions.
Does this answer your question? Thank you for using
Microsoft NewsGroup!
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and
confers no rights.
.
Mike Litzkow
2003-12-26 22:30:17 UTC
Permalink
Wei-Dong,

Please disregard my previous post. The example works
fine, I just made a stupid mistake of moving the file
when I intended to copy it. My problem is solved, and I
thank you very much for your help.

regards,
-- mike
-----Original Message-----
Wei-Dong,
Yes, this seems to be what I need. However when I
downloaded the example code and unzipped it, it failed
to
work. I downloaded "slider.exe" from
http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/behaviors/library/slider/slider.asp
but when I double-click on "slider.htm" there is a page
with no sliders present. However, when I go to the
library and look at the example on Microsoft's site at
http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/behaviors/library/slider/slider.asp
and click on "Show Example", then "Show Me" I get a page
with two sliders present. Can you tell me why does this
not work when I have the code loaded on my own machine?
-- mike
-----Original Message-----
Hi Mike,
Thank you for posting in MSDN managed newsgroup!
From my understanding to this issue, you are going to
add one slider control in your page with the customized
color.
So far as I know, the slider control (F08DF954-8592-
11D1-
B16A-00C0F0283628) doesn't support the customization of
control color. I'd suggest you
may use the slider Behavior to implement one Slider in
the web page. You can obtain more information regarding
the html behavior from the msdn web
site.
Implementing DHTML Behavior Script Components
http://msdn.microsoft.com/library/en-
us/script56/html/letimpldhtml.asp?frame=true
With the behaviour, you can specify the color for this
control according to your scenario. There is more
information regarding this issue in the MSDN
slider Behavior
http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/behaviors/library/slider/slider.asp
Furthermore, I'd suggest one demo will provide some
assistance for you on the usage of the slider behaviour.
Slider Behavior
http://msdn.microsoft.com/downloads/samples/internet/def
a
ult.asp?
url=/downloads/samples/internet/behaviors/library/slider/
d
efault.asp
Please feel free to let me know if you have any further
questions.
Does this answer your question? Thank you for using
Microsoft NewsGroup!
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties,
and
confers no rights.
.
.
Wei-Dong Xu [MSFT]
2003-12-27 01:29:14 UTC
Permalink
Hi Mike,

Thank you for replying!

You are very welcome!

Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Continue reading on narkive:
Loading...