jQuery 滑块颜色选择器/滑块更改背景
我正在尝试这样做:
降低滑块的温度值,我需要代表星星的圆圈逐渐增加并改变背景颜色,如下链接:http://astro.unl.edu/naap/hr/animations/hrExplorer.html
但我的代码没有这样做......查看行来自$("#s_tem").slider({ 查看我的代码: http://jsfiddle.net/NxNXJ/19/
谢谢..
I'm trying to do:
Decreasing the temperature values of the slider, I need that circle that represents the star gradually increase and change background color as this link: http://astro.unl.edu/naap/hr/animations/hrExplorer.html
But my code isn't doing it.....See lines from $("#s_tem").slider({
See my code: http://jsfiddle.net/NxNXJ/19/
Thanks..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您正在分配变量 selectedColor 值,例如: #597459745974
这不是有效的 CSS 颜色属性。
[编辑]这里有一些代码可以帮助您继续:
You are assigning the variable chosenColor values like: #597459745974
Which are not valid CSS color attributes.
[Edit] Here's some code that should get you going: