Expressions Web 2 - 重写代码
我们的一位设计师正在研究 Microsoft Expressions Web,主要是为了根据 Dreameaver 对其进行评估,以维护我们项目的基于 Web 的界面,并且我们发现了一种我们无法解释且无法相信是正确的行为 - 看起来在某些情况下更改代码。
显示问题的一个小例子是:
<frameset rows="<% =MenuHeight %>,*" cols="*" frameborder="NO" border="0" framespacing="0" id="fsOuter">
</frameset>
它转换为:
<frameset rows="*,*" cols="*" frameborder="NO" border="0" framespacing="0" id="fsOuter">
</frameset>
在加载要编辑的文件后立即转换。 在本例中,它从框架中删除 rows 属性,在更大的示例中,将其删除,并将其替换为 rows="," 。
我们是否缺少一些简单的东西,例如“请不要扔掉我们的代码”选项,或者上面的示例中是否有某些东西触发了该行为? 或者这是否仅仅意味着 Expressions Web 不是一个适合维护我们旧的基于 ASP 的代码的程序?
One of our designers is looking at Microsoft Expressions Web, mainly to evaluate it against Dreameaver for maintaining the web based interfaces to our projects, and we've found a behaviour that we can't explain and can't believe is correct - it seems to be altering code in some cases.
A small example that shows the issue is:
<frameset rows="<% =MenuHeight %>,*" cols="*" frameborder="NO" border="0" framespacing="0" id="fsOuter">
</frameset>
which it converts to:
<frameset rows="*,*" cols="*" frameborder="NO" border="0" framespacing="0" id="fsOuter">
</frameset>
instantly upon loading the file to edit. In this case it is removing the rows attribute from the frame, in the larger example that this was cut from it replaced it with rows="," instead.
Are we missing something simple like a "don't throw away our code please" option, or is there something in the above example that is triggering the behaviour? Or does this simply mean that Expressions Web is not a suitable program for maintaining our old ASP based code?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“仅仅意味着 Expressions Web 不是一个适合维护我们旧的基于 ASP 的代码的程序”
我同意这一点。
"simply mean that Expressions Web is not a suitable program for maintaining our old ASP based code"
I'm going with that.