可以将哪种doctype添加到“带布局的树”中代码仍然有节点使用canvas? [英] What doctype can be added to the "tree with layout" code and still have the nodes work with canvas?

查看:62
本文介绍了可以将哪种doctype添加到“带布局的树”中代码仍然有节点使用canvas?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在带布局的树代码中,IE使用VML正常运行,但是如果我添加了一个doctype(我尝试了几种不同的),那么非IE(画布)浏览器就不再有效了。节点全部在顶部/左侧呈现在彼此之上。是否有一个doctype工作或是否需要进行一些其他修改才能使一个工作?

In the "tree with layout" code, IE is running fine using VML, but if I add a doctype (I've tried several different ones) the non-IE (canvas) browsers no longer work. The nodes are all rendered on top of each other in the top/left. Is there a doctype that works or is there some other modification that needs to be made to make one work?

推荐答案

我正在使用带有布局代码的图形Javascript树这个代码项目网站。它由Emilio CL于2006年发布。
I am using the Graphic Javascript Tree with Layout code on this codeproject site. It was posted by Emilio CL in 2006.


这篇关于可以将哪种doctype添加到“带布局的树”中代码仍然有节点使用canvas?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆