放弃VML [英] Giving up on VML

查看:69
本文介绍了放弃VML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除非有人能告诉我如何使用它,否则我放弃了VML。


问题


1)我无法解决如何检测它是否存在。


我尝试了一些VB IsObject(CreateObject(...))但是没有用。


2)我似乎无法正确绘制


不能画一个圆圈(椭圆形)划线到两个。


任何帮助欢迎,


Aaron

Unless someone can show me how to use it I am giving up on VML.

Problems

1) I cannot work out how to detect whether it is present.

I tried some VB IsObject( CreateObject( ...)) but that did not work.

2) I cannot seem to get it to draw properly

cannot draw a circle(oval) crossed by a line to two.

Any help welcome,

Aaron

推荐答案



Aaron Gray写道:

Aaron Gray wrote:

除非有人能告诉我如何使用它,否则我放弃了VML。


问题


1)我无法弄清楚如何检测它是否存在。
Unless someone can show me how to use it I am giving up on VML.

Problems

1) I cannot work out how to detect whether it is present.



您必须 - 它默认显示。对于IE 4的测试阶段,VML over ActiveX已经上线了,你可以高兴地忘记它。如果它是IE -

那么你有本机VML支持

You dnt have to - it is presented by default. VML over ActiveX was on
the testing stage for IE 4, you can happily forget of it. If it''s IE -
then you have native VML support


2)我似乎无法正确绘制


不能画一个圆圈(椭圆形),一条线穿过两条。
2) I cannot seem to get it to draw properly

cannot draw a circle(oval) crossed by a line to two.



< html xmlns:v =" urn:schemas-microsoft-com:vml"

xmlns =" http:/ /www.w3.org/TR/REC-html40">

< head>

< style>

v \: * {behavior:url(#default#VML);}

< / style>

< / head>

< body> ;

< v:oval coordsize =" 21600,21600" style =''width:156pt; height:156pt''>

< / v:oval>

< v:line coordsize =" 21600,21600" ;从= QUOT; 7.5pt,.75pt" to =" 123pt,6pt">

< / v:line>

< / body>

< / html> ;


只需将线放在您想要的任何地方。总的来说,我不知道为什么你拒绝谷歌和阅读VML和SVG

参考?这些东西不一定要在starvations中找到,只需阅读手册。

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<style>
v\:* {behavior:url(#default#VML);}
</style>
</head>
<body>
<v:oval coordsize="21600,21600" style=''width:156pt;height:156pt''>
</v:oval>
<v:line coordsize="21600,21600" from="7.5pt,.75pt" to="123pt,6pt">
</v:line>
</body>
</html>

Just place the line yourself wherever you want. Overall I do not
understand why are you refusing to google for and to read VML and SVG
references? The things do not have to be found in starvations by
yourself, just read the manual.


>除非有人可以告诉我如何使用它我放弃了VML。
>Unless someone can show me how to use it I am giving up on VML.

>>
问题

1)我无法弄清楚如何检测是否存在。
>>
Problems

1) I cannot work out how to detect whether it is present.



您必须 - 它默认显示。对于IE 4的测试阶段,VML over ActiveX已经上线了,你可以高兴地忘记它。如果它是IE -

那么你有本机VML支持


You dnt have to - it is presented by default. VML over ActiveX was on
the testing stage for IE 4, you can happily forget of it. If it''s IE -
then you have native VML support



我遇到了一个不支持它的朋友机器。

I have came across a friends machine that does not support it.


>
>

> 2)我似乎无法得到它正确画出

不能画一个圆圈(椭圆形)划过一条线到两条。
> 2) I cannot seem to get it to draw properly

cannot draw a circle(oval) crossed by a line to two.



< html xmlns:v =" urn:schemas-microsoft-com:vml"

xmlns =" http:/ /www.w3.org/TR/REC-html40">

< head>

< style>

v \: * {behavior:url(#default#VML);}

< / style>

< / head>

< body> ;

< v:oval coordsize =" 21600,21600" style =''width:156pt; height:156pt''>

< / v:oval>

< v:line coordsize =" 21600,21600" ;从= QUOT; 7.5pt,.75pt" to =" 123pt,6pt">

< / v:line>

< / body>

< / html> ;


只需将线放在您想要的任何地方。


<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<style>
v\:* {behavior:url(#default#VML);}
</style>
</head>
<body>
<v:oval coordsize="21600,21600" style=''width:156pt;height:156pt''>
</v:oval>
<v:line coordsize="21600,21600" from="7.5pt,.75pt" to="123pt,6pt">
</v:line>
</body>
</html>

Just place the line yourself wherever you want.



现在用JavaScript?

AND now in JavaScript ?


整体而言我没有

了解为什么你拒绝谷歌和阅读VML和SVG

引用?你不必在starvations中找到这些东西,只需阅读手册即可。
Overall I do not
understand why are you refusing to google for and to read VML and SVG
references? The things do not have to be found in starvations by
yourself, just read the manual.



我已经阅读了W3C和MS''文档。


MS似乎没有遵循W3C文档AFAICT。


Aaron

I have read both W3C and MS''es documentation.

MS seems not to follow W3C documentation AFAICT.

Aaron


> 2)我似乎无法正确绘制
> 2) I cannot seem to get it to draw properly

>>
无法绘制圆圈(椭圆形)一条线穿过两条线。
>>
cannot draw a circle(oval) crossed by a line to two.



< html xmlns:v =" urn:schemas-microsoft-com:vml"

xmlns =" http:/ /www.w3.org/TR/REC-html40">

< head>

< style>

v \: * {behavior:url(#default#VML);}

< / style>

< / head>

< body> ;

< v:oval coordsize =" 21600,21600" style =''width:156pt; height:156pt''>

< / v:oval>

< v:line coordsize =" 21600,21600" ;从= QUOT; 7.5pt,.75pt" to =" 123pt,6pt">

< / v:line>

< / body>

< / html> ;


<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<style>
v\:* {behavior:url(#default#VML);}
</style>
</head>
<body>
<v:oval coordsize="21600,21600" style=''width:156pt;height:156pt''>
</v:oval>
<v:line coordsize="21600,21600" from="7.5pt,.75pt" to="123pt,6pt">
</v:line>
</body>
</html>



它们显示为单独的元素而不是一个元素。好像他们分别在两个单独的

DIV'。


也为什么风格而不是W3C中的位置属性

文件?


Aaron

They appear as separate elements not as one. As if they were in two separate
DIV''s.

Also why the style rather than the position attribute as in W3C
documentation ?

Aaron


这篇关于放弃VML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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