急!!!!!!快帮忙!高分! 大哥,我要的是用鼠标能够在网页上画出线条!谢谢!急用!用javascript如何实现? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 大哥,我要的是用鼠标能够在网页上画出线条!谢谢!急用!用javascript如何实现? 风云舞《VML极道教程》+FlashVml3.0中/英文版联合发布http://community.csdn.net/Expert/TopicView1.asp?id=3810715 大哥,我要的是用鼠标能够在网页上画出线条!谢谢!急用!用javascript如何实现?要源代码! <html xmlns:vml><style>vml\:*{behavior:url(#default#VML);}</style><script>var x,y;document.onmousedown=function(){ x=event.clientX; y=event.clientY ;}document.onmouseup=function(){ document.body.innerHTML+=('<vml:line strokeweight="2px" strokecolor="red" from="'+x+','+y+'" to="'+event.clientX+','+event.clientY+'"/>');}</script><body></body> ext高手请帮忙 我想做一个根据combobox的值生成下一个组件 比如选择按姓名查询 则生成文本框 选择按性别查询则生成选项为男和女的下拉框 求帮忙 为什么提交会弹出三个窗口 如何取得地址栏某个字符串啊 onclick 和 onblur冲突--简单 在aspnet中如何使多个TextBox都调用同一JS 请教一个简单的正则表达式 同一段JS在IE8中不兼容问题 哪里有即可写也可下拉选择的控件? 菜鸟问题!!在线等 恳求大家帮我一下吧,这个怎么替换? 如何解决iframe挡住输入文本框 如何配置FCKeditor V2.0 beta 1的上传/管理文件功能
http://community.csdn.net/Expert/TopicView1.asp?id=3810715
<style>
vml\:*{behavior:url(#default#VML);}
</style>
<script>
var x,y;
document.onmousedown=function()
{
x=event.clientX;
y=event.clientY ;
}
document.onmouseup=function()
{ document.body.innerHTML+=('<vml:line strokeweight="2px" strokecolor="red" from="'+x+','+y+'" to="'+event.clientX+','+event.clientY+'"/>');
}
</script>
<body></body>