简体   繁体   English

在HTA中使用JavaScript和XML?

[英]Using JavaScript and XML in an HTA?

JavaScript is the web language I am most comfortable with, and I am new to HTA but I think it might be 'the' way to make a fully local dynamic page (updatable with imgs, forms, and the ability to save/load at runtime) using xml as a data source. JavaScript是我最熟悉的Web语言,并且是HTA的新手,但我认为这可能是制作完全本地动态页面(可通过img,表格更新以及在运行时保存/加载的功能)的“方式” )使用xml作为数据源。 I just can't find any info on doing so. 我只是找不到任何这样做的信息。 Also if you could quickly... can I use image maps in HTA? 另外,如果您可以很快...我可以在HTA中使用图像地图吗? DHTML is pretty simple for me to wrap my mind around, but throwing strictly client side, xml and HTA into the mix has overwhelmed me. DHTML对我来说很简单,但是将严格的客户端,xml和HTA混为一谈使我不知所措。 Any direction would be appreciated. 任何方向将不胜感激。

Here's an article on CodeProject that will help you: Browsing XML/XSLT with HTA/Scripting Runtime 这是有关CodeProject的文章,将对您有所帮助: 使用HTA /脚本运行时浏览XML / XSLT

I am also going to give you my opinion that HTML Applications are not the way. 我也将给您我的观点,即HTML应用程序不是这种方式。 They are completely localized and can't be executed over HTTP. 它们是完全本地化的,不能通过HTTP执行。 They've been around since IE 5.0; 从IE 5.0开始就存在。 having said that, if they were "the way", you would not have had andy troubles finding examples :) 话虽如此,如果它们是“方式”,那么您就不会在查找示例方面遇到麻烦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM