gooflow 在ie8中报错line.points undefined
line = document.createElement("v:polyline");
if (id != "") line.id = id;
//line.style.position="absolute";
line.points.value = sp[0] + "," + sp[1] + " " + ep[0] + "," + ep[1];
line.setAttribute("fromTo", sp[0] + "," + sp[1] + "," + ep[0] + "," + ep[1]);
line.strokeWeight = "1.2";
line.stroke.EndArrow = "Block";
line.style.cursor = "crosshair";
if (id != "" && id != "GooFlow_tmp_line") {
var text = document.createElement("div");
//text.innerHTML=id;
line.appendChild(text);
var x = (ep[0] - sp[0]) / 2;
var y = (ep[1] - sp[1]) / 2;
if (x < 0) x = x * -1;
if (y < 0) y = y * -1;
text.style.left = x + "px";
text.style.top = y - 6 + "px";
line.style.cursor = "pointer";
}
if (dash) line.stroke.dashstyle = "Dash";
//if (mark) line.strokeColor = "#ff3300";
//else line.strokeColor = "#5068AE";
if (mark) line.strokeColor = "#ff3300";
else line.strokeColor = "#000000";
return line;
这一行
line.points.value = sp[0] + "," + sp[1] + " " + ep[0] + "," + ep[1]; 0x800a138f - JavaScript 运行时错误: 无法设置未定义或 null 引用的属性“value” ie9及以上,chrome 都没没问题
...全文
相关推荐
2024年基于自然的解决方案:中欧案例研究与经验总结报告.docx
2024年基于自然的解决方案:中欧案例研究与经验总结报告.docx
使用SSA(MATLAB)对阿尔茨海默病小鼠模型进行脑电信号分析.zip
1.版本:matlab2014a/2019b/2024b 2.附赠案例数据可直接运行。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
Special-Comfy-part2.7z.088
ComfyUI专用模型资源分卷压缩包,Special-Comfy-part2系列第088卷。7z分卷格式,单卷900MB,需配合全部分卷解压使用。
高校技术转移办公室人员在成果转化过程中,如何实现科技成果的精准推介与高效转化?.docx
高校技术转移办公室人员在成果转化过程中,如何实现科技成果的精准推介与高效转化?
政府科技管理者如何提升科技成果转化政策落实的精准性?.docx
政府科技管理者如何提升科技成果转化政策落实的精准性?


