这个滑竿控件怎么用

gaofaq 2004-09-27 02:16:27
<OBJECT id=Slider style="WIDTH: 120px; HEIGHT: 32px"
classid=clsid:373FF7F0-EB8B-11CD-8820-08002B2F4F5A VIEWASTEXT><PARAM NAME="_ExtentX" VALUE="6482"><PARAM NAME="_ExtentY" VALUE="1191"><PARAM NAME="_Version" VALUE="327682"><PARAM NAME="BorderStyle" VALUE="0"><PARAM NAME="MousePointer" VALUE="0"><PARAM NAME="Enabled" VALUE="1"><PARAM NAME="OLEDropMode" VALUE="0"><PARAM NAME="Orientation" VALUE="0"><PARAM NAME="LargeChange" VALUE="2"><PARAM NAME="SmallChange" VALUE="1"><PARAM NAME="Min" VALUE="0"><PARAM NAME="Max" VALUE="10"><PARAM NAME="SelectRange" VALUE="0"><PARAM NAME="SelStart" VALUE="0"><PARAM NAME="SelLength" VALUE="0"><PARAM NAME="TickStyle" VALUE="1"><PARAM NAME="TickFrequency" VALUE="1"><PARAM NAME="Value" VALUE="0"></OBJECT>
<input onclick="Slider.value=this.value">
<script>
for (var x in Slider) {
/^on/.test(x)?document.write(x+"---"+Slider[x]+"<br>"):"";
}
</script>

我想让输入框的值随滑竿的拖动而变化
...全文
180 6 打赏 收藏 举报
写回复
6 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
L0ading 2004-11-21
  • 打赏
  • 举报
回复
<script>
for (var x in Slider) {
document.write(x+"---"+Slider[x]+"<br/>");
}
</script>
whnnet 2004-09-28
  • 打赏
  • 举报
回复
<input id=xx>
<OBJECT classid=clsid:373FF7F0-EB8B-11CD-8820-08002B2F4F5A height=16 id=Slider
style="HEIGHT: 41px; LEFT: 10px; TOP: 202px; WIDTH: 365px" width=365><PARAM NAME="_ExtentX" VALUE="9657"><PARAM NAME="_ExtentY" VALUE="900"><PARAM NAME="_Version" VALUE="327682"><PARAM NAME="BorderStyle" VALUE="0"><PARAM NAME="MousePointer" VALUE="0"><PARAM NAME="Enabled" VALUE="1"><PARAM NAME="OLEDropMode" VALUE="0"><PARAM NAME="Orientation" VALUE="0"><PARAM NAME="LargeChange" VALUE="5"><PARAM NAME="SmallChange" VALUE="1"><PARAM NAME="Min" VALUE="0"><PARAM NAME="Max" VALUE="100"><PARAM NAME="SelectRange" VALUE="0"><PARAM NAME="SelStart" VALUE="0"><PARAM NAME="SelLength" VALUE="0"><PARAM NAME="TickStyle" VALUE="3"><PARAM NAME="TickFrequency" VALUE="1"><PARAM NAME="Value" VALUE="0"></OBJECT>


<SCRIPT LANGUAGE=javascript FOR=Slider EVENT=Change>
<!--
xx.value=Slider.Value;
//-->
</SCRIPT>
gaofaq 2004-09-28
  • 打赏
  • 举报
回复
up
gaofaq 2004-09-27
  • 打赏
  • 举报
回复
回复人: whnnet(赚钱攒嫁妆) ( ) 信誉:95 2004-9-27 14:26:35 得分: 0
================
那样写的话需要点击input框才行
我是想input框的内容所拖即所得,立马、实时的显示
cloudside 2004-09-27
  • 打赏
  • 举报
回复
这种东西需要特殊环境吧,普通的操作系统有这个玩意吗
whnnet 2004-09-27
  • 打赏
  • 举报
回复
<OBJECT id=Slider style="WIDTH: 120px; HEIGHT: 32px"
classid=clsid:373FF7F0-EB8B-11CD-8820-08002B2F4F5A VIEWASTEXT><PARAM NAME="_ExtentX" VALUE="6482"><PARAM NAME="_ExtentY" VALUE="1191"><PARAM NAME="_Version" VALUE="327682"><PARAM NAME="BorderStyle" VALUE="0"><PARAM NAME="MousePointer" VALUE="0"><PARAM NAME="Enabled" VALUE="1"><PARAM NAME="OLEDropMode" VALUE="0"><PARAM NAME="Orientation" VALUE="0"><PARAM NAME="LargeChange" VALUE="2"><PARAM NAME="SmallChange" VALUE="1"><PARAM NAME="Min" VALUE="0"><PARAM NAME="Max" VALUE="10"><PARAM NAME="SelectRange" VALUE="0"><PARAM NAME="SelStart" VALUE="0"><PARAM NAME="SelLength" VALUE="0"><PARAM NAME="TickStyle" VALUE="1"><PARAM NAME="TickFrequency" VALUE="1"><PARAM NAME="Value" VALUE="0"></OBJECT>
<input onclick="this.value=Slider.Value">
<script>
for (var x in Slider) {
/^on/.test(x)?document.write(x+"---"+Slider[x]+"<br>"):"";
}
</script>
相关推荐
发帖
JavaScript

8.7w+

社区成员

Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
帖子事件
创建了帖子
2004-09-27 02:16
社区公告
暂无公告