0

我想将我的 Axure 导出的 html(一些 javascript、css 和 html 文件 - 所有静态内容)上传到我的 wordpress 网站。现在,我知道我可以简单地连接 ftp 并将文件夹上传到托管驱动器。但我不确定这是否是首选方法,要解决哪些安全问题(htaccess 文件??),以及如何链接到我在框架中的 Axure 中制作的模型(因此它会动态调整大小)。

我是否正在尝试一些不可能的事情,不好的做法,......我需要接触 php 吗?因为我的网络知识远至 js/css ......也是新手。

帮助?

谢谢!

4

1 回答 1

1

我没有看到任何安全问题,也不需要触摸 htaccess 文件。

我在 Wordpress 中共享和嵌入的线框示例位于: http: //paulsizemore.com/4234-2/

本质上,您需要在 Wordpress 内容编辑器中添加对脚本文件的引用。您需要将网址添加到标签的 href 属性中。

Wordpress 内容编辑器视图

<meta name="apple-mobile-web-app-capable" content="yes" />
<link href="http://r4qr5p.axshare.com/resources/css/jquery-ui-themes.css" type="text/css" rel="stylesheet">
<link href="http://r4qr5p.axshare.com/resources/css/axure_rp_page.css" type="text/css" rel="stylesheet">
<link href="http://r4qr5p.axshare.com/LogIn_files/axurerp_pagespecificstyles.css" type="text/css" rel="stylesheet">
<!--[if IE 6]>
    <link href="http://r4qr5p.axshare.com/LogIn_files/axurerp_pagespecificstyles_ie6.css" type="text/css" rel="stylesheet">
<![endif]-->
<script type="text/javascript">
  AXSHARE_HOST_URL = 'http://share.axure.com';
  AXSHARE_HOST_SECURE_URL = 'https://share.axure.com';
</script>
<script src="http://r4qr5p.axshare.com/data/sitemap.js"></script>
<script src="http://r4qr5p.axshare.com/resources/scripts/jquery-1.7.1.min.js"></script>
<script src="http://r4qr5p.axshare.com/resources/scripts/axutils.js"></script>
<script src="http://r4qr5p.axshare.com/resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
<script src="http://r4qr5p.axshare.com/resources/scripts/axurerp_beforepagescript.js"></script>
<script src="http://r4qr5p.axshare.com/resources/scripts/messagecenter.js"></script>
<script src='http://r4qr5p.axshare.com/LogIn_files/data.js'></script>

<!-- This is the iframe of the Axure Share URL --> 
<iframe src="http://r4qr5p.axshare.com/" width="800"></iframe>

于 2016-03-24T21:24:57.293 回答