我想上传我的Axure导出的html (一些javascript,css和html文件-所有静态内容)到我的wordpress网站。现在,我知道我可以简单地连接ftp并将文件夹上传到托管驱动器。但我不确定这是否是首选的方法,要解决哪些安全问题(htaccess文件??),以及如何链接到我在Axure中在帧中创建的模型(因此它可以动态调整大小)。
我是不是在尝试一些不可能的,糟糕的练习,.我需要触摸php吗?因为我的网络知识深入到js/css..。新手也是。
帮助?
谢谢!
发布于 2016-03-24 21:24:57
我没有看到任何安全问题,也不需要接触htaccess文件。
我在Wordpress中共享和嵌入的一个线框示例是:http://paulsizemore.com/4234-2/。
本质上,您需要在Wordpress内容编辑器中添加对脚本文件的引用。您需要将web地址添加到标签的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>
https://stackoverflow.com/questions/36116430
复制相似问题